Hi, I have a question i would love some advice on, my goal is to compare the coefficients of two simple linear regression models (both using dichotomous exposures, continuous outcomes). These are both from the same dataset but will be different participants in each model because one is the total sample (2061) and one is the adjusted sample which is only complete cases (1439). My question is, can i compare these models only using the coefficients from each or will i have to conduct another form of analysis to statistically compare them (interaction effects?/ calculate expected p value/ power /effect size?).
Another question i have is about using simple linear regression with a continuous exposure, this will be a score from 1 to 5. I was wondering if it would be appropriate to use the i. command to see the coefficient with my outcome for each individual score in the dataset? I am expecting to see a dose response relationship between my exposure and outcome and wondered if this would be the best way to display that result or is a linear regression without the i. command doing the same thing?
Would appreciate any advice!
Best,
Agnes
Related Posts with comparing regressions and simple regression using i.
Question about reghdfe commandDear all, I have a question about the command reghdfe(version 6). What is the difference between the…
Mediation analysis with -medeff-: Can a continuous or discrete treatment used in medeff?Dear Statalist, Hello! I would like to conduct a mediation analysis with the help of -medeff- comma…
adding two arguments in inlist function Hi everyone, I have the following table, which has two separate columns for immig 1 & 2 (1: Imm…
How to retrieve a specific value of a variable and calculate it with other values of variables?Hi Statalists, I'm currently want to let stata calculate P1 for each id and here is a formula: P1 =…
Generating variables and compute average with if conditionsDear all, I’m new to stata and for my research I need the following: I have two treatments: 1) Focus…
Subscribe to:
Post Comments (Atom)
0 Response to comparing regressions and simple regression using i.
Post a Comment