I am looking at the my company's termination data and comparing it to the data that was taken on the termination survey (30% response rate) and am trying to determine how to decide if the subset (survey data) is statistically a good representation for the overall terminated population? Is it...
I'm stuck in this.
I have a population divided as follow.
Population as been randomised among Standard or Sperimental procedure.
Surgical access was Laparoscopy or Laparotomy.
Objective is to decrease Day of recovery.
Data example as follow:
<table><tr><td>Intervention...
I am trying to compare the proportion of patients in my subgroup with the outcome of interest to the proportion of patients in the overall population with that outcome, and test for significant difference in order to assess which subgroup variables I should be including in my regression...
I'm trying to have R go through a loop within ID groups, and within each group:
- find the max year;
- count the number of prior observations (by year) that have a code other than the code corresponding to the current row;
- disregard observations that appear in the same year.
I would very...