由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Mathematics版 - data prediction by regression or better ways (转载)
相关主题
问一个Linear regression的弱问题Matlab function help(ways to get m out of n items)
Predict values of vectors generated by black box functionshow to do global optimization in matlab
问个几何问题An interesting question
欢迎大家积极讨论一个ms简单的算法面试题 (转载)帮看道基础概率题 有包子 (转载)
请教一个非线性数据拟合的问题Help please: is there any correlation between the two data set?
请教minimization的问题statistics 问题求助 (转载)
a combinatorical problem如何interpolate四维数据
1 question有人能帮翻译一下吗?急着要
相关话题的讨论汇总
话题: prediction话题: regression话题: any话题: data话题: negative
进入Mathematics版参与讨论
1 (共1页)
m******t
发帖数: 273
1
【 以下文字转载自 Statistics 讨论区 】
发信人: myregmit (myregmit), 信区: Statistics
标 题: data prediction by regression or better ways
发信站: BBS 未名空间站 (Fri Mar 7 17:24:34 2014, 美东)
I am working on data prediction.
Given data of a random variable X and Y, find out how to predict Y by X.
I know how to do it by linear regression, y = k x + b .
But, here, x is always non-negative and y is required to be non-negative.
Sometimes, b is not non-negative so that y < 0.
How to assure that b > 0 and also minimize the prediction error ?
Are there other better ways (not regression) to do the prediction ?
Any help would be appreciated.
B****n
发帖数: 11290
2
If you use matlab, the function nlinfit can fit nonlinear regression model
using least squares that allows restrictions for the parameters.

【在 m******t 的大作中提到】
: 【 以下文字转载自 Statistics 讨论区 】
: 发信人: myregmit (myregmit), 信区: Statistics
: 标 题: data prediction by regression or better ways
: 发信站: BBS 未名空间站 (Fri Mar 7 17:24:34 2014, 美东)
: I am working on data prediction.
: Given data of a random variable X and Y, find out how to predict Y by X.
: I know how to do it by linear regression, y = k x + b .
: But, here, x is always non-negative and y is required to be non-negative.
: Sometimes, b is not non-negative so that y < 0.
: How to assure that b > 0 and also minimize the prediction error ?

m******t
发帖数: 273
3
【 以下文字转载自 Statistics 讨论区 】
发信人: myregmit (myregmit), 信区: Statistics
标 题: data prediction by regression or better ways
发信站: BBS 未名空间站 (Fri Mar 7 17:24:34 2014, 美东)
I am working on data prediction.
Given data of a random variable X and Y, find out how to predict Y by X.
I know how to do it by linear regression, y = k x + b .
But, here, x is always non-negative and y is required to be non-negative.
Sometimes, b is not non-negative so that y < 0.
How to assure that b > 0 and also minimize the prediction error ?
Are there other better ways (not regression) to do the prediction ?
Any help would be appreciated.
B****n
发帖数: 11290
4
If you use matlab, the function nlinfit can fit nonlinear regression model
using least squares that allows restrictions for the parameters.

【在 m******t 的大作中提到】
: 【 以下文字转载自 Statistics 讨论区 】
: 发信人: myregmit (myregmit), 信区: Statistics
: 标 题: data prediction by regression or better ways
: 发信站: BBS 未名空间站 (Fri Mar 7 17:24:34 2014, 美东)
: I am working on data prediction.
: Given data of a random variable X and Y, find out how to predict Y by X.
: I know how to do it by linear regression, y = k x + b .
: But, here, x is always non-negative and y is required to be non-negative.
: Sometimes, b is not non-negative so that y < 0.
: How to assure that b > 0 and also minimize the prediction error ?

m******t
发帖数: 273
5
x and y are discrete and between 0 and 100,000.
Any help would be appreciated.

【在 m******t 的大作中提到】
: 【 以下文字转载自 Statistics 讨论区 】
: 发信人: myregmit (myregmit), 信区: Statistics
: 标 题: data prediction by regression or better ways
: 发信站: BBS 未名空间站 (Fri Mar 7 17:24:34 2014, 美东)
: I am working on data prediction.
: Given data of a random variable X and Y, find out how to predict Y by X.
: I know how to do it by linear regression, y = k x + b .
: But, here, x is always non-negative and y is required to be non-negative.
: Sometimes, b is not non-negative so that y < 0.
: How to assure that b > 0 and also minimize the prediction error ?

m******t
发帖数: 273
6
This y and x scatter plot.
Any help would be appreciated.

【在 m******t 的大作中提到】
: x and y are discrete and between 0 and 100,000.
: Any help would be appreciated.

m******t
发帖数: 273
7
The data are not counts and not number of success either.
They are numerical values calculated by black box functions.
Any help would be appreciated.

【在 m******t 的大作中提到】
: This y and x scatter plot.
: Any help would be appreciated.

m******t
发帖数: 273
8
This is the log-norm scatter plot.
log with base as 10.
For the x =0 and y =0, we change it to be 1.
Any help would be appreciated.

【在 m******t 的大作中提到】
: The data are not counts and not number of success either.
: They are numerical values calculated by black box functions.
: Any help would be appreciated.

1 (共1页)
进入Mathematics版参与讨论
相关主题
有人能帮翻译一下吗?急着要请教一个非线性数据拟合的问题
A stat question请教minimization的问题
help on an optimization problema combinatorical problem
minimal sufficient statistic (转载)1 question
问一个Linear regression的弱问题Matlab function help(ways to get m out of n items)
Predict values of vectors generated by black box functionshow to do global optimization in matlab
问个几何问题An interesting question
欢迎大家积极讨论一个ms简单的算法面试题 (转载)帮看道基础概率题 有包子 (转载)
相关话题的讨论汇总
话题: prediction话题: regression话题: any话题: data话题: negative