# Calculating P values from data.

Below is a data set from admitted patients with the primary diagnosis of esophageal hemorrhage. Data was stratified according to sex categories.

I have a very similar data set for which I must figure out the P values. Therefore I am trying to understand and replicate the P values for the data set below before delving into my own project.

Now for my question:) Given the data below, how was the P value calculated in the **race category? **How was the P value calculated for patients with

**AIDs**(under the

**comorbidities category**)?

How was the P value calculated for the "Age in years" category?

Important note: I am interested in which scoring test was used (T-test, Z-score, Chi-squared i.e) and how the P value can be calculated by using the internet. (It would be greatly appreciated if you can tell me how to obtain P values from the data that I provided through google sheets or SPSS software)

And again, I understand that the P-values were already calculated. I just want to replicate the data and understand. Thank you so much for your help.

Here is the age in year category-

MEAN (SD) MEAN (SD) P MEAN (SD) MEAN (SD) P

Age, Years- 49.75 (10.33) 50.88 (9.98) 0.021 77.65 (7.61) 79.97 (8.07) <0.001

## Answer

**Answers can be viewed only if**

- The questioner was satisfied and accepted the answer, or
- The answer was disputed, but the judge evaluated it as 100% correct.

2 Attachments

- answered
- 427 views
- $15.00

### Related Questions

- 2 conceptual college statistics questions - no equations
- A function satifying $|f(x)-f(y)|\leq |x-y|^2$ must be constanct.
- Banach fixed-point theorem and the map $Tf(x)=\int_0^x f(s)ds $ on $C[0,1]$
- Goalscorer Probability question
- "Estimate of standard error of the proportion"
- Statistical analysis on a 2 dimensional data set
- Writing a conclusion about data shown in Xbar and R control charts
- Differently loaded dices in repeated runs

What are the hypotheses being tested?

Thank you so much for answering my question. I know I already submitted my question and got the answer I was looking for, but I just discovered this other small segment to the chart on which I have a question. Could you provide a brief explanation for what scoring test was used? MEAN (SD) MEAN (SD) (p) MEAN (SD) MEAN (SD) (p) Age in Years 49.75 (10.33) 50.88 (9.98) 0.021 77.65 (7.61) 79.97 (8.07) <0.001

I think you should open a new question with a new bounty if you have another question