MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Load .m file from a web server

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98812] Re: Load .m file from a web server
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Mon, 20 Apr 2009 01:29:54 -0400 (EDT)
  • References: <gseor6$eek$1@smc.vnet.net>

Hi Eric,

It looks like Import can do this:

Import["http://fmwww.bc.edu/repec/bocode/e/Econometrics.m";]

?Reg

Reg[y_,x_,opts___] runs a regression of y on
x.  y is a vector or list of vectors, x is a matrix, a list
of vectors or matrices, or a tensor of lists of vectors.
Include "const" (quotes are essential here) in x list if
there is to be an intercept.  y and x may contain missing
observations (any non-numeric entries).

Options[Reg] = {displayOutput -> True, varDCom -> False,
displayDigits -> 3, varCovMatrix -> OLS (White),
algorithm -> QR (SVD), returnValues -> Level1 (Level2)}

returnValues Options
  Level1 = {beta,err,yhat,sig2}  (default)

  Level2 = {beta,err,yhat,sig2,se,vcMat}



Cheers -- Sjoerd



On Apr 19, 10:53 am, Eric Brown <eric.c.br... at mac.com> wrote:
> Hi all,
>         I wish to place a .m package on a web server and have man=
y  
> mathematica sessions download and use this package.  However, I can  
> not find a way to get this to happen--typing "download" into the help  
> menu does not give me the answer.
>         I could probably use curl to download and then load, but =
is there a  
> Mathematica way (i.e. cross-platform) to do this?
> Thanks,
> Eric



  • Prev by Date: Re: Graphplot - colors of particular edges
  • Next by Date: Re: 3D plots and using mouse click-drag to rotate - why the extra
  • Previous by thread: Re: Load .m file from a web server
  • Next by thread: Re: Looking for a scrolling list control, or how to create/simulate