Dear Statalist,
I am compiling my analysis code altogether. In my current preparation do file, I prepared the data and the code was running smoothly (for replication) until the syntax meant to generate a graph. The below part, after loading the data and doing subsequent code preparations, gives the following error message "No; dataset in memory has changed since last saved "
Is there a way to fix this? I hope to have code running smoothly without interruptions showing the replication of my analysis. Thank you in advance!
I am compiling my analysis code altogether. In my current preparation do file, I prepared the data and the code was running smoothly (for replication) until the syntax meant to generate a graph. The below part, after loading the data and doing subsequent code preparations, gives the following error message "No; dataset in memory has changed since last saved "
Code:
Graph_1: Testing if the diff. in average SWB of the two groups (stayers and leavers acc. to their declared return intentions) is significant preserve cap drop mean_swb bys sample1: egen mean_swb= mean(current_satisfaction) twoway (line mean_swb sample1) ciplot current_satisfaction , by (return) //there is NO overlap, the difference is significant statsby, by(sample1 return) : ci mean current_satisfaction line mean sample1, by(return) sort restore
Comment