Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: query regarding thin plate spline method


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: query regarding thin plate spline method
Date   Tue, 6 Dec 2011 09:49:27 +0000

-thinplate- is a program by Stas Kolenikov available from his website.
You are asked to explain where user-written programs you refer to come
from.

Your two problems are that you have installed -thinplate- but Stata
cannot find it, and that you have run -thinplate- but see no results.
The first is difficult to comment on as you say nothing about how you
installed it and where.

Either way,

1. -thinplate- says it is for smoothing, but you say you want interpolation.

2. -thinplate- gives a complete example in its help. You should be
able to test your installation by running that example.

3. -thinplate- is for Stata 7 and runs old-style graphics.

4. For your second problem the advice in the Statalist FAQ applies as usual.

"Say exactly what you typed and exactly what Stata typed (or did) in
response. N.B. exactly! If you can, reproduce the error with one of
Stata's provided datasets or a simple concocted dataset that you
include in your posting."

5. Stata 12 includes contouring based on thin plate splines. See

http://www.stata.com/help.cgi?twoway_contour

Conversely, if you are not using Stata 12, the FAQ advises you to make
that clear.

Nick

On Tue, Dec 6, 2011 at 9:27 AM, behailu ayele <bbezabih@googlemail.com> wrote:

> I am trying to do interpoliations to my climate data using the thin
> plate spline method. I searched in statalist and I found an ado file
> for that (which I paste below). I have now faced two problems: when I
> install THINPLATE and try to recall it in stata, I get error message
> saying THINPLATE is not found. The second problem is when I just copy
> the ado file and run it straigt in stata, the lines run fine but I get
> no output. My programming knowledge in stata is  poor so any help on
> this is much appreciated.
>
> Also if there are easier ways of doing interpoliations in stata, you
> may sugget them to me as well.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index