Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Spatial statistics and NonlinearRegress

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13873] Spatial statistics and NonlinearRegress
  • From: Ed Luschei <eluschei at montana.edu>
  • Date: Wed, 2 Sep 1998 01:31:06 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

(1) Has anyone out there done any MM work in spatial statistics? I'm
specifically interested in kriging.

(2) Is there a way to fit a piecewise function with NonlinearRegress?

e.g.

f[x_,a_,b_,c_]:=a + b(1-Exp[-x/c]) /; x<c; f[x_,a_,b_,c_]:=a +
b(1-Exp[-1]) /; x>=c;
data=Table[{i,f[i,0.2,5,25]+Random[Real,{-0.1,0.1}]},{i,30}];
NonlinearRegress[data,f[x,a,b,c],{x},{a,b,c}];

Doesn't seem to work because the df/dx doesn't exist at x=c.

Thanks!!
Ed (eluschei at montana.edu)


  • Prev by Date: inequation
  • Next by Date: Structure modification and related questions
  • Previous by thread: Re: inequation
  • Next by thread: Structure modification and related questions