How can I import a data file and run regression in Maxima?



You can take a file and load it in using load, if you
are willing to edit it this way:

Your data:

 123  345.0  567
 89.0e4

change to..

(setf $mydata '((mlist)

123 345.0   567
89.0e4

))

 
.... after loading file, your data will be a list in the maxima variable
mydate.
RJF

> -----Original Message-----
> From: maxima-admin at math.utexas.edu 
> [mailto:maxima-admin at math.utexas.edu] On Behalf Of J. Li
> Sent: Saturday, July 29, 2006 4:46 PM
> To: maxima at math.utexas.edu
> Subject: How can I import a data file and run 
> regression in Maxima?
> 
> Dear all,
> 
> I have been trying to find a way to import a simple data file 
> in text format and run a simple regression with the data in 
> Maxima. Are there any commands or packages designed for this purpose? 
> 
> Thank you for your help.
> 
> 
> Jinhu Li
> 
>  
> 
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>