Hi, statlister!
I have a dataset that represents number of crimes by day(DV), where the observations represent days.
My two dichotomous IVs represents: (1) an intervention (area and period) with a baseline condition. (2) Coding corresponds to that of the first IV but the area is the greater city of the intervention area, excluding the area for the intervention. ex. a part of a city vs. the whole city
A consequence of this is that I can't use those variables in the same model (they cancel each other out), and that the number of observations are slightly larger for the second IV and that it has a lot larger mean of crime per day (i.e., represents a much larger area).
What I'm after is this, I want to able to compare a potential effect of the intervention ( first IV) to the effect of the second IV, in an attempt to control that the effect in the intervention area cannot be explained by a general trend.
As such, if I'm understanding it correctly, I need a test of the standardized coefficients between two models to see if they are significantly different.
If anyone knows how to do this or knows some reading pointers I would be very appreciative.
Here is an example of my data-set if anyone would need it.
It is a collapsed version of the original.
----------------------- copy starting from the next line -----------------------
I have a dataset that represents number of crimes by day(DV), where the observations represent days.
My two dichotomous IVs represents: (1) an intervention (area and period) with a baseline condition. (2) Coding corresponds to that of the first IV but the area is the greater city of the intervention area, excluding the area for the intervention. ex. a part of a city vs. the whole city
A consequence of this is that I can't use those variables in the same model (they cancel each other out), and that the number of observations are slightly larger for the second IV and that it has a lot larger mean of crime per day (i.e., represents a much larger area).
What I'm after is this, I want to able to compare a potential effect of the intervention ( first IV) to the effect of the second IV, in an attempt to control that the effect in the intervention area cannot be explained by a general trend.
As such, if I'm understanding it correctly, I need a test of the standardized coefficients between two models to see if they are significantly different.
If anyone knows how to do this or knows some reading pointers I would be very appreciative.
Here is an example of my data-set if anyone would need it.
It is a collapsed version of the original.
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input int date float(IV_1 IV_2) double crime_by_date 22147 0 . 7 22130 0 . 3 22089 0 . 1 22194 0 . 7 22268 0 . 2 22190 0 . 10 22131 0 . 3 22197 0 . 5 22283 0 . 1 21995 0 . 3 21997 0 . 3 22110 0 . 2 22216 0 . 2 22237 0 . 2 22101 0 . 3 22209 0 . 1 22249 0 . 12 22202 0 . 1 22288 0 . 2 22128 0 . 5 end format %td date label values IV_1 järn label def järn 0 "Baseline", modify
Comment