## Description

With this database, you will:

- Identify and list categorical and continuous variables.
- Calculate frequencies and percentages for all of the categorical variables, and means, and standard deviations for the continuous variables.
- Run a one-sample z test of proportions for one categorical variable. Here is an example in terms of wording: "Is the proportion of English speaking patients greater than 50%?" Using .05 level of significant test the appropriate hypotheses.
- Write the null and alternate hypotheses
- What is the proportion of English speaking patients
- What is the standard error and z statistics
- Find critical z and p value. Is the p value significant? Conclusion?

- Run an independent samples t-test to compare two groups of people (specified by a dichotomous variable) on one continuous variable. Using .05 level of significant test the appropriate hypotheses. In order to run this test statistics you have to re-arrange your data.
- Write the null and alternate hypotheses.
- What is the calculated mean for each group?
- What is the confidence interval for each group?
- What is the critical t value?
- Is the p value significant? Conclusion?

### Unformatted Attachment Preview

Purchase answer to see full attachment

## Explanation & Answer

You are welcome. See attached

1. Identify and list categorical and continuous variables.

Variable Name

Age

Language

HAQ4c

NumRegMed

HAQ15a

SmokHt

Description

Age in years

Preferred language

Fractured hip, leg, arm,

or spine

Number of medications

used regularly

Ability to take care of

own personal needs

Past Smoke history

Variable type

continuous

Categorical

Categorical

Continuous

Categorical

Categorical

2. Calculate frequencies and percentages for all of the categorical variables, and means, and

standard deviations for the continuous variables.

NumRegMed

mean

standard deviation

3.27

3.554176

Age

mean

standard deviation

74.73

6.364675

Language

Frequency

English

Spanish

percentage

frequency

29

43.94%

37

56.06%

HAQ4c

Frequency

percentage

frequency

No

Yes

55

11

83.33%

16.67%

HAQ15a

can do

can do with some

difficulty

can not do without help

percentage

Frequency

frequency

38

57.58%

15

13

22.73%

19.70%

SmokHt

Non smoker

Smoker

percentage

Frequency

frequency

42

63.64%

24

36.36%

3. Run a one-sample z test of proportions for one categorical variable. Here is an example in

terms of wording: "Is the proportion of English speaking patients greater than 50%?"

Using .05 level of significant test the appropriate hypotheses.

1. Write the null and alternate hypotheses

Ho: The proportion of English speaking patients is equal to 50%

Ho: p= 50%

Ha: The proportion of English speaking patients is greater than 50%?"

Ha: p>50%

2. What is the proportion of English speaking patients

p= 29/66 = 0.4394

3. What is the standard error and z statistics

𝑝∗(1−𝑝)

)

𝑛

Standard error = √

=√

0.4394∗0.5606

66

= 0.0611

z statistic = (p-hat –p)/ standard error = (0.4394-0.5)/0.0611 = -0.99

4. Find critical z and p value. Is the p value significant? Conclusion?

Z critical = 1.645

p value = p(z>-0.99) = 0.8389

The p value is not significant as it is greater than the significance value (0.05). We

thus fail to reject the null and conclude that there is insufficient evidence t...