Search notes:

SAS - proc sgplot: Penalized B-Spline Fit

data eggs_why;
  do i = 1 to 1000;
     eggs = i + rand('norm') * 3;
     why  = i/100 + 4 + sin(eggs/50) + rand('norm') * 2;
     output;
  end;
run;

ods graphics on;

proc sgplot data=eggs_why;
  pbspline y=why x=eggs / lineattrs = ( color=red) ;
run;
Github repository about-SAS, path: /programming/proc/sgplot/pbspline.sas
This plot is very similar to a loess fit plot.

See also

proc sgplot

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1745550787, '3.22.217.190', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/proc/sgplot/pbspline(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78