Announcement

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

  • how to draw a plot with confidence interval non-parametric reg

    Hi,

    I am using npregress kernel code for my analysis which goes like this:

    npregress kernel DepVar IndependentVar, vce(bootstrap, reps(100) seed(123))

    I get a plot like this when I use the command npgraph:

    Click image for larger version

Name:	image_20629.png
Views:	1
Size:	171.7 KB
ID:	1585006


    However, I am aiming for a plot like this:




    Click image for larger version

Name:	Untitled.png
Views:	1
Size:	68.6 KB
ID:	1585011


    Is there any different code to get a ploy like this? The grey area here shoes the confidence intervals.
    Last edited by Abdullah Ijaz; 07 Dec 2020, 08:36.
Working...
X