Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • rdplot

    Hello

    I am new to stata and I am using stata 13.1. I am using census data and I have been trying to use the command rdplot depvar indepvar [if] [in] [, c(#) p(#) nbins(# #) binselect(binmethod) scale(# #) kernel(kernelfn) weights(weightsvar) h(# #) support(# #) hide ci(cilevel) shade genvars graph_options(gphopts) ]. I however keep on getting the error message " c() should be set within the range of Age" where Age is the independent variable.

    somebody please help how do I go about solving this problem.

    thank you

  • #2
    Sounds like your cutoff lies outside the range of ages in your data.

    Hard to know, since you are not showing actual code that you typed or describing your data. Try to use a standard dataset that everyone has access to and show your code and output.

    Comment

    Working...
    X