# Tag Info

1

There are many approaches to variable selection. First and foremost, you need to determine if each variable even makes sense for your question. For example, would you expect height to be related to the height of their in-laws? No...but it could be thrown into the variable mix anyway. First step is to use common sense to get an idea of what variables seem ...

1

Say you're trying to find the effect of dosage of a drug on some measure of symptoms. It might be that in reality, the drug works very differently in people depending on their gender, but if you account for the different genders, the effect of the drug can be more clear. This is just an oversimplified example of how including covariates can improve the ...

1

In fact, as long as your functional form is linear in the parameters, you can do a linear least squares fit. You could replace the $\ln x$ with any function, as long as all you care about is the multiplier in front. Section 15.4 of Numerical Recipes, like any other numerical analysis text, will tell you how. Obsolete versions are free.

1

(Note: In mathematics, $\{\cdot\}$ traditionally denotes a set: a construction where order and repetitions have no significance. However, in many programming languages it denotes something like an ordered tuple, so in deference to the OP, I have preserved their original notational choice.) We're looking for a function $f$ which takes in a finite sequence ...

Only top voted, non community-wiki answers of a minimum length are eligible