# 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
- 227 views
- $15.00

### Related Questions

- Real Analysis
- Prove that a closed subset of a compact set is compact.
- Convergence in Lp
- How do I compare categorical data with multiple uneven populations?
- Statistics problem
- Times series Analys
- For each A ∈ { Z, Q, } find the cardinality of the set of all increasing bijective functions f : A → A.
- Define $F : \mathbb{R}^ω → \mathbb{R}^ω$ by $F(x)_n = \sum^n_{k=1} x_k$. Determine whether $F$ restricts to give a well-defined map $F : (\ell_p, d_p) → (\ell_q, d_q)$

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