楼主: blaine
14651 55

求guass的ml模块 [推广有奖]

  • 0关注
  • 2粉丝

已卖:738份资源

讲师

82%

还不是VIP/贵宾

-

威望
0
论坛币
190829 个
通用积分
3.9431
学术水平
22 点
热心指数
21 点
信用等级
15 点
经验
11127 点
帖子
206
精华
1
在线时间
870 小时
注册时间
2005-1-5
最后登录
2025-12-29

楼主
blaine 发表于 2005-1-14 10:07:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

哪位有用来求极值MAXLIK 或CML模块?看着程序不能运行,急呀.

谢谢了.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:GUASS MAXLIK max CML 模块 GUASS

沙发
hanszhu 发表于 2005-1-15 11:41:00

[下载]Gauss Maximum Liklihood

本帖隐藏的内容

7992.rar (706.48 KB)

Please let me know if you got it and it is working properly!!!

[此贴子已经被作者于2005-1-15 13:29:24编辑过]

藤椅
hanszhu 发表于 2005-1-15 13:21:00

Procedure For Computing Likelihood Function

The user must provide a procedure for computing the log-likelihood for either one observation, or for a matrix of observations. The procedure must have two input arguments, first, a vector of parameter values, and second, one or more rows of the data matrix. The output argument is the log-likelihood for the observation or observations in the second argument evaluated at the parameters values in the first argument. Suppose that the function procedure has been named fct, the following considerations apply:

 FORMAT logl=fct(x,y) INPUT x - vector of parameters of model y - one or more rows of the data set (if the data set has been transformed, or if vars /= 0, i.e., there is selection, then y is a transformed, selected observation) if __row == 1, one row of the data set if __row >= 2, if data set is stored in memory then all of the data set will be passed to FCT; if data set is stored in GAUSS data file then __row will be passed to passed to FCT. if __row <= 0, For data set is stored in memory same as __row>= 2, for GAUSS data file the maximum number of rows that will fit in memory will be computed by MAXLIK. if _max_Lag >= 1, a matrix of observations, the first is the i-_max_Lag row, and the final row is the i-th row. OUTPUT logl - the log-likelihood if __row == 1 or _max_Lag >= 1, a scalar value for a given observation, otherwise a vector of log-likelihoods.

REMARKS

If you have written the procedure such that it must compute the log-likelihood of one observation at a time then you must set __row = 1. But if you are able to write the procedure so that a vector of log-likelihoods may be returned then set __row=0; If you are getting "insufficient memory" messages when the data are being read from a GAUSS data file then either set __row ==1 or to some positive value. Also, if the data set is stored in a GAUSS data set and the selected data set will fit into memory, then MAXLIK will read it in and store it before beginning the iterations. In this case the setting of __row will follow the rules of a data set stored in memory. Significant reduction in computation time may be achieved when the data set can be stored in memory and procedure is written to compute vectors of log-probabilities.

板凳
hanszhu 发表于 2005-1-15 13:22:00

Calling MAXLIK Recursively

The procedure that computes the log-likelihood may itself call MAXLIK. When calling MAXLIK recursively the following considerations apply:

If a data set is being analyzed and it is to be transformed or deleted for missing data or cases are to be selected, then this can be done only on the outermost version of MAXLIK, i.e., the version called in the original command file. Variable selection (as opposed to case selection) can be done on any level through the second argument in the call to each version of MAXLIK. Data sets can be opened by nested versions of MAXLIK. If a nested version of MAXLIK is going to use the data set opened by the outer version of MAXLIK then pass a null string (i.e., "") in the first argument in the call. If it is going to analyze a different data set from the outer version then pass it the data set name in a string. You may also load and store a data set in memory in the command file and pass it as the first argument in the nested call to MAXLIK.

Before the call to the nested version of MAXLIK, the global variables may be re-set by calling MAXCLR. You must not use MAXSET because that will clear information about the data sets opened and processed in the outer version. The only differences between MAXSET and MAXCLR are references to these globals.

You may also want to disable the keyboard control of the nested versions. This is done by setting the global _max_key = 0 after the call to MAXCLR and before the call to the nested MAXLIK.

报纸
hanszhu 发表于 2005-1-15 13:24:00

Maximum Likelihood

MAXLIK performs maximum likelihood estimation of the parameters of statistical models. All you provide is a GAUSS function to calculate the log-likelihood for a set of observations. MAXLIK does the rest.

Major Features of Maximum Likelihood

  • More than 25 user-selectable options control the optimization
  • Fast Procedures: FASTMAX, FASTBoot, FASTBayes, FASTProfile, and FASTPflCLimits can speed convergence times up to 800 percent over earlier versions of MAXLIK, depending on the type of problem.
  • "Kiss-Monster" random numbers used in the bootstrap procedure and random line search algorithm.
  • The bootstrap and random line search procedures use the new "Kiss-Monster" random number generator. It has a period of 10^8859, long enough for serious Monte Carlo work.
  • Descent algorithms include: BFGS (Broyden-Fletcher-Goldfarb-Shanno), DFP (Davidon-Fletcher-Powell), Newton, steepest descent, PRCG (Polak-Ribiere-type conjugate gradient), and BHHH (Berndt-Hall-Hall-Hausman)
  • Step-length methods include: STEPBT, BRENT, BHHHSTEP, and a step-halving method
  • A "switching" method may also be selected which switches the algorithm during the iterations according to three criteria: number of iterations, failure of the function to decrease within a tolerance, or decrease of the line search step length below a tolerance

Improved Algorithm

MAXLIK implements the Cholesky factorization, solve, and update methods for the BFGS, DFP, and Newton algorithms. Event Count and Duration Regression

An included COUNT module (by Gary King, Harvard University) estimates limited dependent variable models. These procedures provide maximum likelihood estimator s for parametric regression models of events data, i.e., models with dependent variables that are measured either as event counts or as durations between events.

Platform: Windows, LINUX and UNIX.

Requirements: GAUSS/GAUSS Light version 3.6.18 or higher.

[此贴子已经被作者于2005-1-15 13:33:08编辑过]

地板
fatboy 发表于 2005-1-15 13:36:00
好兄弟, 真是谢谢你啦, 还有 CO 或者optimum 模块吗?

7
hanszhu 发表于 2005-1-15 14:03:00

GAUSS Applications

Available for Windows, Unix, and Linux
Algorithmic Derivatives A program for generating GAUSS procedures for computing algorithmic derivatives.
Constrained Maximum Likelihood Solves the general maximum likelihood problem subject to general constraints on the parameters.
Constrained Optimization Solves the nonlinear programming problem subject to general constraints on the parameters.
CurveFit Nonlinear curve fitting.
Descriptive Statistics Basic sample statistics including means, frequencies and crosstabs. This application is backwards compatible with programs written with Descriptive Statistics 3.1
Descriptive Statistics MT Basic sample statistics including means, frequencies and crosstabs. This application is thread-safe and takes advantage of structures.
Discrete Choice A statistical package for estimating discrete choice and other models in which the dependent variable is qualitative in some way.
FANPAC MT Comprehensive suite of GARCH (Generalized AutoRegressive Conditional Heteroskedastic) models for estimating volatility.
Linear Programming MT Solves small and large scale linear programming problems
Linear Regression MT Least squares estimation.
Loglinear Analysis MT Analysis of categorical data using loglinear analysis.
Maximum Likelihood Maximum likelihood estimation of the parameters of statistical models.
Nonlinear Equations MT Solves systems of nonlinear equations having as many equations as unknowns.
Optimization Unconstrained optimization.
Time Series Exact ML estimation of VARMAX, VARMA, ARIMAX, ARIMA, and ECM models subject to general constraints on the parameters. Panel data estimation. Unit root and cointegration tests.

[此贴子已经被作者于2005-1-15 14:05:04编辑过]

8
hanszhu 发表于 2005-1-15 14:13:00

[下载]Gauss Optimum

8009.rar (32.05 KB, 需要: 10 个论坛币)

[此贴子已经被作者于2005-1-15 14:18:45编辑过]

9
hanszhu 发表于 2005-1-15 14:17:00

[下载]Gauss Constrained Optimization

8011.rar (35.49 KB, 需要: 10 个论坛币)

10
hanszhu 发表于 2005-1-15 14:20:00

Constrained Optimization

CO is an applications module written in the GAUSS programming language. It solves the Nonlinear Programming problem, subject to general constraints on the parameters - linear or nonlinear, equality or inequality, using the Sequential Quadratic Programming method in combination with several descent methods selectable by the user - Newton-Raphson, quasi-Newton (BFGS and DFP), and scaled quasi-Newton. There are also several selectable line search methods. A Trust Region method is also available which prevents saddle point solutions. Gradients can be user-provided or numerically calculated.

CO is fast and can handle large, time-consuming problems because it takes advantage of the speed and number-crunching capabilities of GAUSS. It is thus ideal for large scale Monte Carlo or bootstrap simulations.

GAUSS Applications are modules written in GAUSS for performing specific modeling and analysis tasks. They are designed to minimize or eliminate the need for user programming while maintaining flexibility for non-standard problems.

Platform: Windows, LINUX and UNIX.

Requirements: GAUSS/GAUSS Light version 3.2.19 or higher.

[此贴子已经被作者于2005-1-15 14:30:22编辑过]

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-3 03:51