Search notes:

SAS - proc sgplot: regression fit

data eggs_why;
 /* drop i; */

  do i = 1 to 50;
     eggs = rand('unif')*5;
     why = (eggs-2)**3 + 0*(eggs+1)**2 - eggs*4 * 3 + rand('norm')*4; 
     output;
  end;

run;

ods graphics on;

proc sgplot data = eggs_why;
  reg y=why x=eggs / degree = 3 ;
run;
Github repository about-SAS, path: /programming/proc/sgplot/regression-fit_degree-3.sas

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...', 1745548249, '3.144.103.205', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/proc/sgplot/regression-fit(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78