SlideShare a Scribd company logo
1 of 31
Regression Analysis
Bivariable
Multivariable
May 16, 2023 1
SPSS Data Management and Interpretations part-5
Analyze menu…
1. Logistic Regression
We can use:
• When the dependent is categorical
• Logistic regression (Binary/ Multinomial)
• If we are using binary logistic regression, the dependent variable
should be treated as success and failure
• The success should be assigned as “1” and the failure as “0”
May 16, 2023 2
Analysis  Regression  Binary logistic
• Under the binary logistic regression transfer the dependent variable to “dependent”
and the predictor (only one predictor variable) to the “Covariates”.
• If the predictor variable is categorical click the “categorical” and by highlighting the
variable transfer to “categorical covariate” and
• by choosing and ticking the reference option (first or last) and clicking “change” click
the “continue”.
• Click the “Option” and mark the “CI for B (Exp) 95 %”
Binary Dependent Variable
May 16, 2023 3
Analysis  Regression  Binary logistic
May 16, 2023 4
click the “categorical”
1st Shade the variable
2nd pass by clicking here
Dependent variable
Independent
variable
May 16, 2023 5
Dependent variable
Transferred “categorical covariate”
Independent
variable
May 16, 2023 6
Dependent variable
Choose the reference option
Last or First
then clicking “change”
Independent
variable
Last or First is
chosen from your
hypothesis or
your expectation
May 16, 2023 7
Choosing the reference category
• One or more values of the independent variable is considered as
exposure and non-exposure variable.
• The referent of the independent variable is selected by our
hypothesis, experience or changeability of natural occurrence.
• Usually normal occurrence is considered as referent (non-exposure)
• This postulated reference should be arranged (ordered) as First or
Last.
• We then have to choose this referent according to its place in order of
its existence
May 16, 2023 8
–Click the “Option” and
–mark the “CI for B (Exp) 95 %”
May 16, 2023 9
Output Dependent Variable Encoding
0
1
Original Value
non-case
depression case
Internal Value
Values of the
dependent and independent
Categorical Variables Codings
855 .000
580 1.000
female
male
gender
Frequency (1)
Parameter
coding
The referent is female
Parameter code (1) is
given to the exposure (eg here ‘male’)
May 16, 2023 10
Omnibus Tests of Model Coefficients
31.089 1 .000
31.089 1 .000
31.089 1 .000
Step
Block
Model
Step 1
Chi-square df Sig.
The omnibus tests of model coefficients tells us how much
variables in the model predict the outcome variable (it is similar to R2 in
linear R)
It is the difference between (-2LL when only constant is added) and
(-2LL after variables in the model are added)
Scores
Model Summary
1845.826 .021 .029
Step
1
-2 Log
likelihood
Cox & Snell
R Square
Nagelkerke
R Square
Scores
It is controversial, but some mention that it represents the R-Square
which is the percentage that the model predicts occurrence of the
outcome variable
Output…
May 16, 2023 11
Variables in the Equation
-.637 .116 30.202 1 .000 .529 .421 .664
-.328 .069 22.396 1 .000 .720
SEXNO(1)
Constant
Step
1
a
B S.E. Wald df Sig. Exp(B) Lower Upper
95.0% C.I.for EXP(B)
Variable(s) entered on step 1: SEXNO.
a.
Here the B is the regression coefficient that depicts the slope and the
interception. It is the change in logit of the outcome variable associated
with a one unit change in the predictor variable.
Wald statistics has a chi-square distribution
The most crucial and more displayed for the interpretation of logistic
regression is the value of Exp (B) and its 95% CI, which is the change in
odds resulting from a unit change in the predictor
0 +1
Preventive Risk
The Exp (B) odds ratio and its 95% CI are the only result usually displayed
Output…
May 16, 2023 12
How should we display
OR (95% CI)
Sex
Male 1
Female 1.86 (1.05, 2.46)
Residence
Urban 1
Rural 2.78 (0.78, 5.64)
Marital status
Single 1
Married 0.67 (0.25, 0.89)
Divorced/widowed 1.82 (1.04, 2.56)
Exp (B)
May 16, 2023 13
The interpretation is as follows
OR (95% CI)
Sex
Male 1
Female 1.86 (1.05, 2.46) (becoming a female is Risk)
Residence
Urban 1
Rural 2.78 (0.78, 5.64)
Marital status
Single 1
Married 0.67 (0.25, 0.89)
Divorced/widowed 1.82 (1.04, 2.56)
Exposure
non-Exposure (referent)
non-Exposure (so referent)
Exposure
Getting married is preventive
Where as getting divorced or widowed
is risk
There is no statistical difference b/n
Urban and rural residents
May 16, 2023 14
Assumptions of Linear Regression
1. Linear relationship between outcome (y) and explanatory variable x
2. Outcome variable (y) should be Normally distributed for each value of
explanatory variable (x)
3. Standard deviation of y should be approximately the same for each value
of x (equal variance)
4. Independent observations. E.g.: Only one point per person
2. Linear Regression
• The two variables should be measured at the continuous level.
May 16, 2023 15
2. Analysis Regression Linear
• Select the dependent variable to the ‘dependent’ space and the independent variable to the
‘independent’.
• After Clicking the ‘statistics’, choose the ‘estimate’, ‘model fit’, ‘confidence interval’ and ‘R squared
change’ and click the ‘Ok’.
• This will give you the mean difference between and within group difference and its significance is
measured using F-test.
• It also gives you regression coefficients (the intercept and the slope)
• (the ß = slope, gives you +ve or -ve r/s b/n the predictor and the Outcome Variable)
• It also gives you R2 which is the explanatory or prediction power of the model in predicting the
outcome variable.
May 16, 2023 16
2. Analysis Regression Linear
May 16, 2023 17
Analysis Regression Linear
May 16, 2023 18
The Model summary shows you the R2 which tells us how much the predictive
Variables explains out come variable, here in this example, it is 16.6%.
ANOVA statistics also tells us whether the explanatory variable
predicts the outcome variable well using F-test.
Output
May 16, 2023 19
• The B is the coefficient that each independent variable contributes to the
dependent Variable, it is also the indicator of (ß = slope), and the intercept that crosses X value at 0.
• It tells us to what extent (degree) each predictor effects the outcome, if the effects of all other
predictors are held constant.
• The equation will seem
SYSTOLIC BP= ß0 + ß1x WEIGHT + ……..
=98.46+0.428x WEIGHT + ……..
Output…
May 16, 2023 20
• The standard error: if its value is minute that could give insignificant change to
the ß (slop) when added or subtracted, then it can show that its significance.
• Standard coefficient: may be useful and gives a good estimate through relative
estimation using standard deviation.
• Students t-test is the statistics that estimates the significance, and the upper
and lower 95% CI, are significant if both become Negative or Positive.
.
May 16, 2023 21
3. Survival Analysis
• For analyzing the expected duration of time until one or more events happen
• The outcome variable is time-to-event:
• Time-to-recovery from diseases
• Time-to-discharge
• Time-to-death etc
May 16, 2023 22
Examples of Survival data
• Time to death: survival times of cancer patients from certain therapy to
death; the time from diagnosis of a disease until death
• Time to failure: length of times from operation until failure of transplanted
organ; time between administration of a vaccine and development of an
infection
• Time to response: time it takes for a patient to respond a therapy; time
from the start of treatment of a symptomatic disease and the suppression
of symptoms
May 16, 2023 23
Life table
Quantities needed are:
• Time
• Max time (interval)
• Event of interest
• Click “defined event” and define the value for event
• Click “OK”
May 16, 2023 24
Cox-Regression
• It helps us to predict the effect of covariates on time to even outcome
variable
• This model is semi-parametric
• Hazard ratio, 95% CI and p-value can be computed from the model
• As logistic regression, we use both univariable and multivariable cox-
regression to estimate
• unadjusted and adjusted hazard ratio
May 16, 2023 25
Hazard Ratio
To compute the estimates, we need to define
• Time
• Event
• Covariates
• Reference level should be defined by clicking “categorical” and choose
either last or first
May 16, 2023 26
Analysis  Survival  Cox Regression
May 16, 2023 27
May 16, 2023 28
Analysis  Survival Cox Regression
1st Define time variable
2nd insert Event variable
4th define event
and click continue
3rd click here to define event
6th click ‘ok’
5th move the
covariate(s) here
6th click ‘categorical’
5th click here and then click continue
Analysis  Survival Cox Regression
May 16, 2023 30
Output
End!

More Related Content

Similar to lecture_6.pptx

Lab Based E-portfolio
Lab Based E-portfolioLab Based E-portfolio
Lab Based E-portfolio
Nor Khamsiah
 
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxDistribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
madlynplamondon
 
Multinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdfMultinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdf
AlemAyahu
 
Lecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsLecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignments
Daria Bogdanova
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 

Similar to lecture_6.pptx (20)

analysis part 02.pptx
analysis part 02.pptxanalysis part 02.pptx
analysis part 02.pptx
 
Lab Based E-portfolio
Lab Based E-portfolioLab Based E-portfolio
Lab Based E-portfolio
 
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxDistribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
 
Stats ca report_18180485
Stats ca report_18180485Stats ca report_18180485
Stats ca report_18180485
 
Uncertainity
UncertainityUncertainity
Uncertainity
 
Multinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdfMultinomial Logistic Regression.pdf
Multinomial Logistic Regression.pdf
 
Lecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignmentsLecture 5 practical_guidelines_assignments
Lecture 5 practical_guidelines_assignments
 
Mba2216 week 11 data analysis part 02
Mba2216 week 11 data analysis part 02Mba2216 week 11 data analysis part 02
Mba2216 week 11 data analysis part 02
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
X18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalyticsX18125514 ca2-statisticsfor dataanalytics
X18125514 ca2-statisticsfor dataanalytics
 
What Is Generalized Linear Regression with Gaussian Distribution And How Can ...
What Is Generalized Linear Regression with Gaussian Distribution And How Can ...What Is Generalized Linear Regression with Gaussian Distribution And How Can ...
What Is Generalized Linear Regression with Gaussian Distribution And How Can ...
 
Binary OR Binomial logistic regression
Binary OR Binomial logistic regression Binary OR Binomial logistic regression
Binary OR Binomial logistic regression
 
Churn Analysis in Telecom Industry
Churn Analysis in Telecom IndustryChurn Analysis in Telecom Industry
Churn Analysis in Telecom Industry
 
Eviews forecasting
Eviews forecastingEviews forecasting
Eviews forecasting
 
Spss & minitab
Spss & minitabSpss & minitab
Spss & minitab
 
Quantifying the Uncertainty of Long-Term Economic Projections
Quantifying the Uncertainty of Long-Term Economic ProjectionsQuantifying the Uncertainty of Long-Term Economic Projections
Quantifying the Uncertainty of Long-Term Economic Projections
 
Calibration of risk prediction models: decision making with the lights on or ...
Calibration of risk prediction models: decision making with the lights on or ...Calibration of risk prediction models: decision making with the lights on or ...
Calibration of risk prediction models: decision making with the lights on or ...
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Risk notes ch12
Risk notes ch12Risk notes ch12
Risk notes ch12
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 

More from MesfinShifara

Gastro intestinal Pharmacology.pptx
Gastro intestinal Pharmacology.pptxGastro intestinal Pharmacology.pptx
Gastro intestinal Pharmacology.pptx
MesfinShifara
 

More from MesfinShifara (20)

nutrition.pptx
nutrition.pptxnutrition.pptx
nutrition.pptx
 
Sedation, Analgesia & Delirium.pptx
Sedation, Analgesia & Delirium.pptxSedation, Analgesia & Delirium.pptx
Sedation, Analgesia & Delirium.pptx
 
Vasoactive agents (4).pptx
Vasoactive agents (4).pptxVasoactive agents (4).pptx
Vasoactive agents (4).pptx
 
Fluid and Electrolyte Imbalance.pptx
Fluid and Electrolyte Imbalance.pptxFluid and Electrolyte Imbalance.pptx
Fluid and Electrolyte Imbalance.pptx
 
feeding in ICU.pptx
feeding in ICU.pptxfeeding in ICU.pptx
feeding in ICU.pptx
 
Electrolyte.pptx
Electrolyte.pptxElectrolyte.pptx
Electrolyte.pptx
 
Complication prevention ICU.pptx
Complication prevention ICU.pptxComplication prevention ICU.pptx
Complication prevention ICU.pptx
 
clinical syndrome (1).pptx
clinical syndrome (1).pptxclinical syndrome (1).pptx
clinical syndrome (1).pptx
 
ARDS Case.pptx
ARDS Case.pptxARDS Case.pptx
ARDS Case.pptx
 
8- Documentation in ICU.pptx
8- Documentation in ICU.pptx8- Documentation in ICU.pptx
8- Documentation in ICU.pptx
 
7-Dead body management in a covid patient.pptx
7-Dead body management in a covid patient.pptx7-Dead body management in a covid patient.pptx
7-Dead body management in a covid patient.pptx
 
4 Airway management andOxygen delivery interfaces.pptx
4 Airway management andOxygen delivery interfaces.pptx4 Airway management andOxygen delivery interfaces.pptx
4 Airway management andOxygen delivery interfaces.pptx
 
1 Mechanical ventilation.pptx
1 Mechanical ventilation.pptx1 Mechanical ventilation.pptx
1 Mechanical ventilation.pptx
 
Gastro intestinal Pharmacology.pptx
Gastro intestinal Pharmacology.pptxGastro intestinal Pharmacology.pptx
Gastro intestinal Pharmacology.pptx
 
Neonatal pharm 3 .ppt
Neonatal pharm 3 .pptNeonatal pharm 3 .ppt
Neonatal pharm 3 .ppt
 
liver.pptx
liver.pptxliver.pptx
liver.pptx
 
diarrhoea.pptx
diarrhoea.pptxdiarrhoea.pptx
diarrhoea.pptx
 
Neonatal Jaundice.pptx
Neonatal Jaundice.pptxNeonatal Jaundice.pptx
Neonatal Jaundice.pptx
 
Disorder of fluid and electrolytes.pptx
Disorder of fluid and electrolytes.pptxDisorder of fluid and electrolytes.pptx
Disorder of fluid and electrolytes.pptx
 
5.Congenital pneumonia.pptx
5.Congenital pneumonia.pptx5.Congenital pneumonia.pptx
5.Congenital pneumonia.pptx
 

Recently uploaded

ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
neemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
neemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetneemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
neemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
9316020077📞Goa Call Girls Numbers, Call Girls Whatsapp Numbers Goa
9316020077📞Goa  Call Girls  Numbers, Call Girls  Whatsapp Numbers Goa9316020077📞Goa  Call Girls  Numbers, Call Girls  Whatsapp Numbers Goa
9316020077📞Goa Call Girls Numbers, Call Girls Whatsapp Numbers Goa
russian goa call girl and escorts service
 
Call Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in Anantapur
Call Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in AnantapurCall Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in Anantapur
Call Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in Anantapur
gragmanisha42
 
Jalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Jalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetJalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Jalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
russian goa call girl and escorts service
 
coimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
coimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetcoimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
coimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
bhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetbhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
Call Girls in Udaipur Girija Udaipur Call Girl ✔ VQRWTO ❤️ 100% offer with...
Call Girls in Udaipur  Girija  Udaipur Call Girl  ✔ VQRWTO ❤️ 100% offer with...Call Girls in Udaipur  Girija  Udaipur Call Girl  ✔ VQRWTO ❤️ 100% offer with...
Call Girls in Udaipur Girija Udaipur Call Girl ✔ VQRWTO ❤️ 100% offer with...
mahaiklolahd
 
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetnagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 

Recently uploaded (20)

ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
neemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
neemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetneemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
neemuch Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
9316020077📞Goa Call Girls Numbers, Call Girls Whatsapp Numbers Goa
9316020077📞Goa  Call Girls  Numbers, Call Girls  Whatsapp Numbers Goa9316020077📞Goa  Call Girls  Numbers, Call Girls  Whatsapp Numbers Goa
9316020077📞Goa Call Girls Numbers, Call Girls Whatsapp Numbers Goa
 
Kolkata Call Girls Miss Inaaya ❤️ at @30% discount Everyday Call girl
Kolkata Call Girls Miss Inaaya ❤️ at @30% discount Everyday Call girlKolkata Call Girls Miss Inaaya ❤️ at @30% discount Everyday Call girl
Kolkata Call Girls Miss Inaaya ❤️ at @30% discount Everyday Call girl
 
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
 
Call Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service Available
 
Call Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in Anantapur
Call Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in AnantapurCall Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in Anantapur
Call Girls Service Anantapur 📲 6297143586 Book Now VIP Call Girls in Anantapur
 
Jalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Jalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetJalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Jalna Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur RajasthanJaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
 
Dehradun Call Girls 8854095900 Call Girl in Dehradun Uttrakhand
Dehradun Call Girls 8854095900 Call Girl in Dehradun  UttrakhandDehradun Call Girls 8854095900 Call Girl in Dehradun  Uttrakhand
Dehradun Call Girls 8854095900 Call Girl in Dehradun Uttrakhand
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
 
coimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
coimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetcoimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
coimbatore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
bhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetbhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhopal Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Call Girls in Udaipur Girija Udaipur Call Girl ✔ VQRWTO ❤️ 100% offer with...
Call Girls in Udaipur  Girija  Udaipur Call Girl  ✔ VQRWTO ❤️ 100% offer with...Call Girls in Udaipur  Girija  Udaipur Call Girl  ✔ VQRWTO ❤️ 100% offer with...
Call Girls in Udaipur Girija Udaipur Call Girl ✔ VQRWTO ❤️ 100% offer with...
 
Kochi call girls Mallu escort girls available 7877702510
Kochi call girls Mallu escort girls available 7877702510Kochi call girls Mallu escort girls available 7877702510
Kochi call girls Mallu escort girls available 7877702510
 
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
 
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
 
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetnagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Escorts Service Ahmedabad🌹6367187148 🌹 No Need For Advance Payments
Escorts Service Ahmedabad🌹6367187148 🌹 No Need For Advance PaymentsEscorts Service Ahmedabad🌹6367187148 🌹 No Need For Advance Payments
Escorts Service Ahmedabad🌹6367187148 🌹 No Need For Advance Payments
 

lecture_6.pptx

  • 1. Regression Analysis Bivariable Multivariable May 16, 2023 1 SPSS Data Management and Interpretations part-5 Analyze menu…
  • 2. 1. Logistic Regression We can use: • When the dependent is categorical • Logistic regression (Binary/ Multinomial) • If we are using binary logistic regression, the dependent variable should be treated as success and failure • The success should be assigned as “1” and the failure as “0” May 16, 2023 2
  • 3. Analysis  Regression  Binary logistic • Under the binary logistic regression transfer the dependent variable to “dependent” and the predictor (only one predictor variable) to the “Covariates”. • If the predictor variable is categorical click the “categorical” and by highlighting the variable transfer to “categorical covariate” and • by choosing and ticking the reference option (first or last) and clicking “change” click the “continue”. • Click the “Option” and mark the “CI for B (Exp) 95 %” Binary Dependent Variable May 16, 2023 3
  • 4. Analysis  Regression  Binary logistic May 16, 2023 4
  • 5. click the “categorical” 1st Shade the variable 2nd pass by clicking here Dependent variable Independent variable May 16, 2023 5
  • 6. Dependent variable Transferred “categorical covariate” Independent variable May 16, 2023 6
  • 7. Dependent variable Choose the reference option Last or First then clicking “change” Independent variable Last or First is chosen from your hypothesis or your expectation May 16, 2023 7
  • 8. Choosing the reference category • One or more values of the independent variable is considered as exposure and non-exposure variable. • The referent of the independent variable is selected by our hypothesis, experience or changeability of natural occurrence. • Usually normal occurrence is considered as referent (non-exposure) • This postulated reference should be arranged (ordered) as First or Last. • We then have to choose this referent according to its place in order of its existence May 16, 2023 8
  • 9. –Click the “Option” and –mark the “CI for B (Exp) 95 %” May 16, 2023 9
  • 10. Output Dependent Variable Encoding 0 1 Original Value non-case depression case Internal Value Values of the dependent and independent Categorical Variables Codings 855 .000 580 1.000 female male gender Frequency (1) Parameter coding The referent is female Parameter code (1) is given to the exposure (eg here ‘male’) May 16, 2023 10
  • 11. Omnibus Tests of Model Coefficients 31.089 1 .000 31.089 1 .000 31.089 1 .000 Step Block Model Step 1 Chi-square df Sig. The omnibus tests of model coefficients tells us how much variables in the model predict the outcome variable (it is similar to R2 in linear R) It is the difference between (-2LL when only constant is added) and (-2LL after variables in the model are added) Scores Model Summary 1845.826 .021 .029 Step 1 -2 Log likelihood Cox & Snell R Square Nagelkerke R Square Scores It is controversial, but some mention that it represents the R-Square which is the percentage that the model predicts occurrence of the outcome variable Output… May 16, 2023 11
  • 12. Variables in the Equation -.637 .116 30.202 1 .000 .529 .421 .664 -.328 .069 22.396 1 .000 .720 SEXNO(1) Constant Step 1 a B S.E. Wald df Sig. Exp(B) Lower Upper 95.0% C.I.for EXP(B) Variable(s) entered on step 1: SEXNO. a. Here the B is the regression coefficient that depicts the slope and the interception. It is the change in logit of the outcome variable associated with a one unit change in the predictor variable. Wald statistics has a chi-square distribution The most crucial and more displayed for the interpretation of logistic regression is the value of Exp (B) and its 95% CI, which is the change in odds resulting from a unit change in the predictor 0 +1 Preventive Risk The Exp (B) odds ratio and its 95% CI are the only result usually displayed Output… May 16, 2023 12
  • 13. How should we display OR (95% CI) Sex Male 1 Female 1.86 (1.05, 2.46) Residence Urban 1 Rural 2.78 (0.78, 5.64) Marital status Single 1 Married 0.67 (0.25, 0.89) Divorced/widowed 1.82 (1.04, 2.56) Exp (B) May 16, 2023 13
  • 14. The interpretation is as follows OR (95% CI) Sex Male 1 Female 1.86 (1.05, 2.46) (becoming a female is Risk) Residence Urban 1 Rural 2.78 (0.78, 5.64) Marital status Single 1 Married 0.67 (0.25, 0.89) Divorced/widowed 1.82 (1.04, 2.56) Exposure non-Exposure (referent) non-Exposure (so referent) Exposure Getting married is preventive Where as getting divorced or widowed is risk There is no statistical difference b/n Urban and rural residents May 16, 2023 14
  • 15. Assumptions of Linear Regression 1. Linear relationship between outcome (y) and explanatory variable x 2. Outcome variable (y) should be Normally distributed for each value of explanatory variable (x) 3. Standard deviation of y should be approximately the same for each value of x (equal variance) 4. Independent observations. E.g.: Only one point per person 2. Linear Regression • The two variables should be measured at the continuous level. May 16, 2023 15
  • 16. 2. Analysis Regression Linear • Select the dependent variable to the ‘dependent’ space and the independent variable to the ‘independent’. • After Clicking the ‘statistics’, choose the ‘estimate’, ‘model fit’, ‘confidence interval’ and ‘R squared change’ and click the ‘Ok’. • This will give you the mean difference between and within group difference and its significance is measured using F-test. • It also gives you regression coefficients (the intercept and the slope) • (the ß = slope, gives you +ve or -ve r/s b/n the predictor and the Outcome Variable) • It also gives you R2 which is the explanatory or prediction power of the model in predicting the outcome variable. May 16, 2023 16
  • 17. 2. Analysis Regression Linear May 16, 2023 17
  • 19. The Model summary shows you the R2 which tells us how much the predictive Variables explains out come variable, here in this example, it is 16.6%. ANOVA statistics also tells us whether the explanatory variable predicts the outcome variable well using F-test. Output May 16, 2023 19
  • 20. • The B is the coefficient that each independent variable contributes to the dependent Variable, it is also the indicator of (ß = slope), and the intercept that crosses X value at 0. • It tells us to what extent (degree) each predictor effects the outcome, if the effects of all other predictors are held constant. • The equation will seem SYSTOLIC BP= ß0 + ß1x WEIGHT + …….. =98.46+0.428x WEIGHT + …….. Output… May 16, 2023 20
  • 21. • The standard error: if its value is minute that could give insignificant change to the ß (slop) when added or subtracted, then it can show that its significance. • Standard coefficient: may be useful and gives a good estimate through relative estimation using standard deviation. • Students t-test is the statistics that estimates the significance, and the upper and lower 95% CI, are significant if both become Negative or Positive. . May 16, 2023 21
  • 22. 3. Survival Analysis • For analyzing the expected duration of time until one or more events happen • The outcome variable is time-to-event: • Time-to-recovery from diseases • Time-to-discharge • Time-to-death etc May 16, 2023 22
  • 23. Examples of Survival data • Time to death: survival times of cancer patients from certain therapy to death; the time from diagnosis of a disease until death • Time to failure: length of times from operation until failure of transplanted organ; time between administration of a vaccine and development of an infection • Time to response: time it takes for a patient to respond a therapy; time from the start of treatment of a symptomatic disease and the suppression of symptoms May 16, 2023 23
  • 24. Life table Quantities needed are: • Time • Max time (interval) • Event of interest • Click “defined event” and define the value for event • Click “OK” May 16, 2023 24
  • 25. Cox-Regression • It helps us to predict the effect of covariates on time to even outcome variable • This model is semi-parametric • Hazard ratio, 95% CI and p-value can be computed from the model • As logistic regression, we use both univariable and multivariable cox- regression to estimate • unadjusted and adjusted hazard ratio May 16, 2023 25
  • 26. Hazard Ratio To compute the estimates, we need to define • Time • Event • Covariates • Reference level should be defined by clicking “categorical” and choose either last or first May 16, 2023 26
  • 27. Analysis  Survival  Cox Regression May 16, 2023 27
  • 28. May 16, 2023 28 Analysis  Survival Cox Regression 1st Define time variable 2nd insert Event variable 4th define event and click continue 3rd click here to define event 6th click ‘ok’ 5th move the covariate(s) here 6th click ‘categorical’
  • 29. 5th click here and then click continue Analysis  Survival Cox Regression
  • 30. May 16, 2023 30 Output
  • 31. End!