Hi
I am trying to make a simple logistic regression adjusted for one potential confounder ("Antibtiotics") on a small sample size (n=13).
All variables are binary. I need to adjust for one potential confounder; whether or not the person took ("Antibiotics").
I am "investigating" whether a bloo-value above/below a givet cut-off affects outcome, when adjusting for Antibiotics (yes/no).
My code:
logit Outcome i.Bloodvalue i.Antibiotics, or
The output:
Logistic regression Number of obs = 13
LR chi2(1) = 2.22
Prob > chi2 = 0.1361
Log likelihood = -6.9135667 Pseudo R2 = 0.1384
----------------------------------------------------------------------------------------------------------------------------------------------------
Outcome | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
---------------------------+-----------------------------------------------------------------------------------------------------------------------
1.Bloodvalue | 1 (empty)
1.Antibiotics | .125 .1822172 -1.43 0.154 .0071793 2.176401
_cons | 2 2.44949 0.57 0.571 .1813532 22.0564
I am aware that an adjusted regression of such a small sample size is problematic, but my question is:
- Why can't I get Stata to compute the Odss Ratio, Standard Error, P-value and CI for the bloodvalue
- All people with a value above the blood-value (n=3) cut-off experienced "Outcome", is that the problem? It worked fine with Fishers Exact Test
Stata IC 15.1
Kind Regards
Rasmus
Related Posts with Problems with simple adjusted logistic regression on small sample-size (n=13)
Creating a variable that counts the number of respondents in different ethnic groups per yearGreetings, I'm running Stata 15.1 and working with data from the American Community Survey. My goal…
Small sample mixed methods with varying degrees of freedom and lincomHi Stata experts! I have a situation that I've been unable to Google my way to a resolution. I hav…
"record too long" in Stata16 MPI was dealing with a dataset (about 50 thousand variables and unknown observations) download from So…
Diff-in-diff analysis with two filesDear Stata community I am having some problems with my data. I want to run a diff-in-diff analysis …
Why should I use difference GMM instead of system GMM (Arellano-Bond)What are the reasons to use Arellano-Bond's difference GMM instead of system GMM? Reasons to apply …
Subscribe to:
Post Comments (Atom)
0 Response to Problems with simple adjusted logistic regression on small sample-size (n=13)
Post a Comment