Comments (5)
I wanted to study the effect of PM2.5 concentration on state progression and use HR to represent his risk, but my results did not seem to be statistically significant, which is obviously wrong, and I am not sure whether it is a data problem or a code method problem at present. There is less chance of problems with the data.
from msm.
I don't think I can answer this one, sorry. It needs someone to read the paper in detail and advise you. I'd prefer to keep this issues board for bug reports and specific questions about usage of the software.
It won't necessarily be possible to reproduce the results in a paper, unless the authors of the paper have published all of their code, data and methodology. Then you can examine in detail the differences between what they did and what you did.
from msm.
from msm.
I don't think I can answer this one, sorry. It needs someone to read the paper in detail and advise you. I'd prefer to keep this issues board for bug reports and specific questions about usage of the software.
It won't necessarily be possible to reproduce the results in a paper, unless the authors of the paper have published all of their code, data and methodology. Then you can examine in detail the differences between what they did and what you did.
Dear Professor Jackson, I have solved the problem before, because some research objects were in state 1 and did not transition, but it only had one observation data, and the msm code showed an error, so I deleted the value that only existed in state 1, which was caused by my lack of statistical knowledge. I am very sorry. After that, I added an observation value to the research object that did not shift in state 1, and the time length was the observation cutoff time minus the baseline time, which made the final result better. But the results from state1 to state4 (death) were still poor, and the results I calculated using the cox proportional risk model were very good. Therefore, in order to make the result better, I added an observation time for states 2 and 3 that did not progress to death, and the time length was calculated as above. Although the result is better, it is still not ideal.
The above idea is obtained from cox proportional risk model and cav data that comes with R software.
Therefore, I have the following question, is there any requirement for the end observation time of the subjects who do not progress to death? These are not mentioned in the msm tutorial, so I was stuck here until now. Please give me more information and suggestions on the data structure required by the msm package. Thank you very much!
from msm.
You should put in whatever knowledge you have about the state. So if there is an "end observation time" at which you know the state, then you can include the state at that time.
Or if death is a state in your model, and you know the person is still alive at a particular time, but you don't know the specific living state that they are in at that time, then you can use msm(..., censor...)
. See e.g. https://chjackson.github.io/msm/msmcourse/timedep.html#partially-known-states and help(msm)
.
from msm.
Related Issues (20)
- Observations within subjects ... are not ordered by time HOT 2
- Question on MSM estimation with very few or no observations for a given transition HOT 2
- Integrate external optimisation results into msm object HOT 3
- Data format HOT 2
- Question about maximum likelihood of msm HOT 5
- Guidance Request on Addressing Transition Probability Estimation Issue in msm Package HOT 4
- multiple covariates HOT 7
- Implementing a semi-Markov model using 'msm' package HOT 5
- A question about very high total times using msm.totlos HOT 14
- Error in estimating transition intensities HOT 2
- Censored states in simfitted.msm HOT 1
- People with one observation shouldn't be dropped in hidden Markov models HOT 1
- Fitting simple healthy-ill-death model without recovery HOT 12
- prevalence.msm censtime question HOT 4
- Pearson goodness of fit tests fail for models with covariate interactions HOT 1
- Implementation of Markov polymorphism model with 5 states and 8 paths HOT 9
- How does MSM handle missing covariate data? HOT 1
- False convergence - Hessian is not positive definite HOT 5
- initial value in 'vmmin' is not finite HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msm.