Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid cell specification; column out of range #1

Open
adamrossnelson opened this issue Nov 23, 2017 · 0 comments
Open

invalid cell specification; column out of range #1

adamrossnelson opened this issue Nov 23, 2017 · 0 comments

Comments

@adamrossnelson
Copy link
Owner

When the levels of a cross tabulation do not match the levels of each variable individually tabulated: invalid cell specification; column out of range.

Categorica |
    l low, |
 moderate, |
   high of |
  referral |            Sector of institution
     rate. | Private..  Private..  Public,..  Public,.. |     Total
-----------+--------------------------------------------+----------
     1 low |         1         34         82        145 |       262 
2 moderate |         0         58          5        199 |       262 
    3 high |         0        147          0        115 |       262 
-----------+--------------------------------------------+----------
     Total |         1        239         87        459 |       786 

invalid cell specification; column out of range
r(198);


. tab sector

                  Sector of institution |      Freq.     Percent        Cum.
----------------------------------------+-----------------------------------
                Public, 4-year or above |        463       56.95       56.95
Private not-for-profit, 4-year or above |        245       30.14       87.08
    Private for-profit, 4-year or above |          3        0.37       87.45
                         Public, 2-year |        101       12.42       99.88
         Private not-for-profit, 2-year |          1        0.12      100.00
----------------------------------------+-----------------------------------
                                  Total |        813      100.00

. tab refrt_cat

Categorical |
       low, |
  moderate, |
    high of |
   referral |
      rate. |      Freq.     Percent        Cum.
------------+-----------------------------------
      1 low |        262       33.33       33.33
 2 moderate |        262       33.33       66.67
     3 high |        262       33.33      100.00
------------+-----------------------------------
      Total |        786      100.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant