HI All, I have a question that might be as much about stats as it is about SAS programming. I'm hoping that you folks can help. I have a sample of 35 records from a population of 9635 that looks like this: Data have;
Input Unit Repair_cost;
datalines:
1 10,277.00
2 33,615.00
3 23,442.00
4 11,220.00
5 41,321.00
6 40,801.00
7 20,896.00
8 44,753.00
9 28,659.00
10 19,753.00
11 28,760.00
12 24,537.00
13 20,536.00
14 20,959.00
15 5,693.00
16 8,290.00
17 28,715.00
18 41,550.00
19 18,459.00
20 49,197.00
21 28,955.00
22 46,149.00
23 25,273.00
24 45,867.00
25 24,716.00
26 43,519.00
27 27,884.00
28 37,714.00
29 8,001.00
30 42,151.00
31 43,197.00
32 27,245.00
33 31,736.00
34 9,503.00
35 14,946.00
;
run; I figure I can calculate the SD and 95% confidence limits for the sample by using: ods select BasicIntervals;
proc univariate data=have cibasic;
var Repair_cost;
run; That should give me the mean repair cost and 95% confidence interval for an individual unit. My question is, can I then multiply the mean, upper and lower limits by the total population (9635) to get an expected total repair cost and associated confidence limits. It makes intuitive sense to me, but I've found that in stats, my intuition isn't always correct. If I can't do it this way, can someone suggest the best way to get a predicted total repair cost and associated confidence interval for the entire population of 9635 based on the sample of 35 I have above? any help is much appreciated. Thanks so much Mike
... View more