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

  • 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

Answer

Answers can be viewed only if
  1. The questioner was satisfied and accepted the answer, or
  2. The answer was disputed, but the judge evaluated it as 100% correct.
View the answer

2 Attachments

The answer is accepted.
Join Matchmaticians Affiliate Marketing Program to earn up to 50% commission on every question your affiliated users ask or answer.