Hi guys,
        This is my first post in this group. It is great that there is such 
a group!
        What I want to do right now is like this:
        Say, I have four columns of data, Column A, B, C and D, the latter 
three depend on Column A, there are 4 rows in each column
        I want to do interpolation and extrapolation to the four columns, 
mainly based on Column A, thus the other 3 columns can be 
interpolated/extrapolated.
        The way to do that is through curve-fitting, because linear 
interpolation may not work me, so I want need to get a curvefit for Column 
B vs. A, Column C vs. A, and Column D vs. A, respectively. There must be a 
macro that can take and record the individual coefficients in the curve 
function for each of the fitting curve. 
        After the curve fittings are done, I can use the coefficients of 
the functional form to interpolate, extrapolate. Finally I will have 
another table--an extended table to tabulate all of the calculated data.
        About the curve fitting, I would like to start with polynomial, but 
not sure whether to start with cubic of fifth order first. One thing that 
may help me decide is to check some quantity to check the quality of the 
curve fitting, say, a t-test and/or F-test, if a cubic polynomial does not 
yield good data, I can switch to fifth order polynomial.
        As I'm totally new to macros, I'm confused about the way to do the 
macros. I know that I can make macros through recording, but I'm not sure 
if I can realize that without doing some macro coding (for instance, 
getting the individual coefficients of the curve-fitting functions, and 
checking the curve fitting quality to make decision whether to switch curve 
function or not, etc.) I guess I may need to write some macro coding to 
insert in my recorded macro to make it work, but I don't know where to 
start.
        If you guys have some examples to show me, I would really 
appreciate it!

Thanks,
           

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to