Hello,
I have panel patient dataset in which I am trying to predict invalidity (0/1) based on lagged variables. In one model, I use a single binary predictor lagged by 1 visit to predict invalidity in the following one. I predict in the training set and plot ROC curve in the test set. Using an example cross-sectional situation from my dataset, I get an ROC (rocgold command) curve with one single point, which is expected. However, using mixed-effect multilevel univariate logistic regression in the entirety of the panel dataset, even with a single binary predictor variable, I obtain a smooth ROC curve. Is it possible this palette of points on the sensitivity-specificity plane is due to the varying error terms? I am rather a beginner in statistics so it might be I am missing some basic thing.
Figure: The green and the yellow curves come from a binary predictor
Thank you
Jan
Related Posts with Receiver operating characteristic curve for binary predictor after melogit
Measuring dynamicsHello, I'm doing a relatively simple analysis for a large group of banks for years 2011-2020. In pa…
Clustering SEs in Panel IVFE regression eliminates significanceHello, I am studying country structural transformation by regressing log(manufacturing value added …
cleaning the dataset for diff and diff modelHi, I have the following unbalanced data. I want to clean my data to apply simple diff-in-diff model…
Getting File Ready For Stata AnalysisGreetings Everyone! Dear All, I have Raw Form of data of more the 400 firms as shown below how can …
Filtering in StataI have been trying to look for Stata equivalent of this SPSS filter creation " USE ALL. COMPUTE filt…
Subscribe to:
Post Comments (Atom)
0 Response to Receiver operating characteristic curve for binary predictor after melogit
Post a Comment