I am currently working on an extension for research that requires me to measure whether the allocation of patents to examiners are random. I have sorted the data in order to conduct a Chi-squared test on the last digit to compare it to the expected number (which is the sum of patent applications/10). But I do not how to proceed from there. I have tried using the tabulate command (tabulate expected_no sumoflastdigit, chi2) with many different variations but it all doesn't seem right. There are 1370 observations in my data so some of the combination of variables I've tried also mentioned that there are too many values. Below is a screen capture of part of my data.
Related Posts with Pearson's Chi-Squared Test - Requesting help with tab2
Intersection among datasetsHi all, so I have k databases (55) called name_country_mole.dta. Each database is an unbalanced pan…
Create a variable that summarizes the number of distinct combinations of string variablesHi all, Apologies in advance if my problem is unclear. I'm a former Stata user who has since been u…
Plotting regression results in scatter plotHello, I have a regression of the form: Code: reg yvar xvar zvar i.year where year is a categoric…
enquiry about using likelihood ratio test when employing conditional logistics regression !Hello, I am testing a categorical variable (ethnicity) with a binary outcome (death). I want to obta…
margins & marginsplot in LCA by groupGood morning colleagues, I'm having some trouble working out how to use margins and marginsplot to …
Subscribe to:
Post Comments (Atom)
0 Response to Pearson's Chi-Squared Test - Requesting help with tab2
Post a Comment