Announcement

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

  • Equation trouble

    Hi i am having trouble with the following equation, is there a missing operator?
    Click image for larger version

Name:	trouble.PNG
Views:	1
Size:	3.1 KB
ID:	1385986

    this is an attempt to plot the following (histogram is ok)
    Click image for larger version

Name:	trouble2.PNG
Views:	1
Size:	3.5 KB
ID:	1385987

    Thanks

  • #2
    range() does not require a comma:
    Code:
        options               Description
        -----------------------------------------------------------------------------------------------------
        range(# #)            plot over x = # to #

    Comment


    • #3
      The range option is not specified correctly. Delete the space after range and replace the comma by a space.
      Code:
      range(-5 20)
      Please review section 12 in the FAQ and use CODE delimiters instead of screenshots for Stata commands.

      Comment


      • #4
        Hi I originally had no comma, but this came up...
        Click image for larger version

Name:	trouble3.PNG
Views:	1
Size:	13.7 KB
ID:	1386001

        Comment


        • #5
          Problem solved, the space between range and bracket as well as the comma.
          Thanks everyone

          Comment

          Working...
          X