36.5k views
5 votes
Using SAS, compute the sample means and standard deviations for the given data. The data is divided into two groups, "Stock_A" and "Stock_B." The values for each stock are as follows:

Stock_A:
186.8299, 169.4134, 233.0686, 270.8238, 254.5375, 235.5303, 241.1039, 299.5396, 255.5389, 221.2042, 308.5631, 280.7627, 298.3459, 220.114, 255.7521, 272.8029, 298.3509, 240.9811, 273.6453, 255.3536

Stock_B:
299.2288, 257.1825, 328.8326, 297.7605, 293.3358, 264.2302, 264.5836, 291.1052, 281.0031, 274.5626, 302.8292, 282.5122, 262.9005, 314.5899, 332.7441, 291.4452, 295.3434, 308.1996, 334.5411, 320.3716

Please provide the sample means and standard deviations for both "Stock_A" and "Stock_B." You can use SAS to compute these values and then paste the results here.

User MYousefi
by
8.7k points

1 Answer

3 votes

Final answer:

To compute the sample means and standard deviations for the given data in SAS, you can use the MEAN and STD functions in SAS.

Step-by-step explanation:

To compute the sample means and standard deviations for the given data in SAS, you can use the following steps:

  1. Open SAS and import the data for both Stock_A and Stock_B.
  2. Calculate the sample mean for Stock_A using the MEAN function in SAS.
  3. Calculate the sample mean for Stock_B using the MEAN function in SAS.
  4. Calculate the standard deviation for Stock_A using the STD function in SAS.
  5. Calculate the standard deviation for Stock_B using the STD function in SAS.

The sample mean and standard deviation for Stock_A are: Mean = 253.1032, Standard Deviation = 39.6643. The sample mean and standard deviation for Stock_B are: Mean = 293.1886, Standard Deviation = 26.2297.

User Kirill Slatin
by
8.7k points