Question: a) What is the sample size? Your answer should be an integer. b) What is the average age? Your answer should have 4 digits after

a) What is the sample size? Your answer should be an integer.

b) What is the average age? Your answer should have4digits after the period (e.g., 25.1267).

c) What is the median age? Your answer should be an integer (e.g., 35).

d) What is the IQR of age? Your answer should be an integer (e.g., 35).

e) What is the standard deviation of the sample? Your answer should have4digits after the period (e.g., 25.1267).

a) What is the sample size? Your answer should be an integer.b)

Let say you have observations in cells A1 to A100. Here is how you would compute some summary statistics based on these observations. First, place the cursor in a cell where there is no observation (e.g. A102) then type the command corresponding to the summary statistic you would like to compute. Summary Statistic Command Mean =average (A1 : A100) Median =median (A1 : A100) Mode =mode (A1 : A100) Sample Variance =var (A1 : A100) Population Variance =varp (A1 : A100) Sample Standard Deviation =stdev (A1 : A100) Population Standard Deviation =stdevp (A1 : A100) Maximum Value =max (A1 : A100) Minimum Value =min (A1 : A100) kth Percentile =percentile (A1 : A100, k/100) e. g. percentile (Al : A100, 0. 45) Useful Stata Commands For these questions, you only need to know one command in Stata. The command name is "summarize", which will give you all the information about your variable of interest (i.e., agep). If I want to get the descriptive statistics (including the percentiles) of that variable, all you need to type is "summarize agep, detail" after having imported the data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!