Timeline for How to simulate discrete data from a Poisson distribution? [closed]
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 1, 2019 at 12:08 | history | closed |
mkt Ferdi Xi'an kjetil b halvorsen♦ Peter Flom |
Not suitable for this site | |
Feb 1, 2019 at 8:29 | comment | added | Xi'an | You have to define a distribution for the missing data, from the probability of missing to the fact that it is missing at random or not (then depending on the realisation). | |
S Feb 1, 2019 at 8:28 | history | suggested | Mark.F | CC BY-SA 4.0 |
Question is specific about an operation in R
|
Feb 1, 2019 at 8:14 | review | Suggested edits | |||
S Feb 1, 2019 at 8:28 | |||||
S Feb 1, 2019 at 7:15 | review | Low quality posts | |||
Feb 1, 2019 at 8:30 | |||||
S Feb 1, 2019 at 7:15 | review | Close votes | |||
Feb 1, 2019 at 12:08 | |||||
Feb 1, 2019 at 7:08 | comment | added | J. Dekker | Of course a built in simulation function will not generate missing values. Consider generating another vector from a binomial distribution n=1000, p=0.99. Then, replace the 0's in that vector by NA, and elementwise multiply the vectors to get a Poisson random variable vector with missing values. | |
Feb 1, 2019 at 7:06 | comment | added | Bee | Yes, I want to simulate missing data. | |
Feb 1, 2019 at 7:05 | comment | added | Bee | I am using R. I want the simulated data with missing values. I have tried this: simdata<-rpois(1000,2) but when I checked if there are missing values, there were not. | |
Feb 1, 2019 at 7:05 | answer | added | J. Dekker | timeline score: 2 | |
Feb 1, 2019 at 7:03 | comment | added | J. Dekker | Wait... You want to simulate missing data? | |
Feb 1, 2019 at 7:03 | comment | added | Bee | I am using R. I want the simulated data set with missing values. | |
Feb 1, 2019 at 7:00 | review | First posts | |||
Feb 1, 2019 at 9:49 | |||||
Feb 1, 2019 at 6:59 | comment | added | J. Dekker | So, most statistical software has built in functions for this. What software would you like to use? | |
Feb 1, 2019 at 6:57 | history | asked | Bee | CC BY-SA 4.0 |