1
vote
0answers
30 views

Deriving cost function using MLE :Why use log function?

I am learning machine learning from Andrew Ng's open-class notes and coursera.org. I am trying to understand how the cost function for the logistic regression is derived. I will start with the cost ...
0
votes
1answer
45 views

Distribution of log-log linear regression

Edit: Sorry yeah not too clear, probably posted this too late at night... Essentially I have data which appears to be in exponential form - a log-log graph put it close to a straight line. Using R, I ...
0
votes
1answer
34 views

reverse a logarithm

I have some data which produces the following logarithmic curve. As you can see, the curve produces the exact opposite of what Im trying to achieve (my data is the line with dots, the logarithm is the ...
3
votes
2answers
109 views

How do I use specific data points on a graph to determine an equation?

I need to find a function $f(x)$ such that the following data points would fit on it: $$f(1) = 0 \\ f(2) = 0.5 \\ f(4) = 1.0 \\ f(8) = 1.5 \\ \cdots $$ and so on. So the pattern is every time $x$ ...
1
vote
2answers
82 views

Multiple regression with model $Y = (1 + c_1X_1)(1 + c_2X_2)\ldots(1 + c_nX_n)$

I'm currently working with data contained in $Y, X_1, X_2, \ldots, X_n$ and wish to fit it to the model: $Y = (1 + c_1X_1)(1 + c_2X_2)\ldots(1 + c_nX_n)$ where the $c_i$ are coefficients to be ...
5
votes
1answer
245 views

Can I build a program that will tell me if a real world data set looks linear, logarithmic, exponential etc?

I have a bunch of real world data sets and from manually plotting some of the data in graphs, I've discovered some data sets look pretty much logarithmic and some look linear, or exponential (and some ...