Giter Site home page Giter Site logo

The question of msm about msm HOT 5 CLOSED

26pan avatar 26pan commented on August 18, 2024
The question of msm

from msm.

Comments (5)

26pan avatar 26pan commented on August 18, 2024

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.

chjackson avatar chjackson commented on August 18, 2024

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.

26pan avatar 26pan commented on August 18, 2024

from msm.

26pan avatar 26pan commented on August 18, 2024

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.

chjackson avatar chjackson commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.