instruction stringlengths 9 38.7k |
|---|
I'm using rugarch package to estimate and forecast my time series. First, I estimate an ARMA model:
y <- readRDS("y.rds")
y.test <- readRDS("y-test.rds")
m1.mean.model <- auto.arima(y, allowmean=F )
ar.comp <- arimaorder(m1.mean.model)[1]
ma.comp <- arimaorder(m1.mean.model)[3]
But usually the error terms show typical... |
In my dataset, I already know there is a feature; that is predictive of the outcome. However, I would like to know what other features are predictive.
Therefore, I constructed two glmnet models and would like to understand how I can interpret the effect of penalty factor on the result.
In the first model, all variables... |
I was studying this article about Hidden Markov Model. The article introduced two diagrams at the outset.
(1) Given what I had for dinner last night, the probability of what I will have tonight.
(2) Given what I had for dinner that night, the probability that it will lead to finding either a plastic bowl or some tin f... |
I am doing some research on optimization techniques for machine learning, but I am surprised to find large numbers of optimization algorithms are defined in terms of other optimization problems. I illustrate some examples in the following.
For example https://arxiv.org/pdf/1511.05133v1.pdf
Everything looks nice and go... |
I do understand that SVM is about finding the classifier that maximize the margin. But what is the intuition there? Please don't go into the math. Thx
More specifically, if someone ask you during an interview , what would you say about the motivation for maximizing the margin in SVM? Keep it simple, intuitive and bette... |
I applied ARIMA to a time-series dataset (dataset).
In order to archive stationary, I applied the following steps:
log transformation log_dataset <- log(dataset)
difflog_dataset <- diff(log_dataset,1) to my dataset.
I tested stationary by Ljung-Box.
I fitted difflog_dataset by ARIMA(1,0,2) adequately.
fit <- Arima(d... |
What will happen if we set the same weights to two neurons in the same layer?
What will happen if weights are 0 (zero)?
Explain why.
Please, also give some references for further study.
For instance, If we use a single layer, 2-neuron network,
the following picture is with random weights,
The following with all 1s,
... |
I'm trying to learn reinforcement learning and this topic is really confusing to me. I have taken an introduction to statistics, but I just couldn't understand this topic intuitively.
|
I'm trying to create a supervised learning model for a two player game where there are no statistics recorded except the outcome of the match.
I came up with the following Bayes' net:
Where $X_i^{t_i} \in {\rm I\!R}$ is the rating (some made up variable to keep track of how good players are) of player $i$ after they'v... |
I have the two following models:
require(robustbase)
data(stackloss)
d1 <- lmrob(stack.loss~., data = stackloss)
d2 <- lmrob(stack.loss~Air.Flow+Water.Temp, data = stackloss)
No I look at the follwing two summaries:
summary(d1)
Call:
lmrob(formula = stack.loss ~ ., data = stackloss)
\--> method = "MM"
Residuals:
... |
What is transition restriction in the discussion of HMM?
Does that effect HMM algorithms?
|
Why is it that logistic regression becomes unstable when classes are well-separated? What does well-separated classes mean? I would really appreciate if someone can explain with an example.
|
I was reading Reinforcement Learning: An Introduction and came upon a method for solving tic-tac-toe.
During this method, the computer trying to learn usually takes the greedy move (the move it thinks will make it most likely to win).
When the computer does not take the greedy move (otherwise known as "exploring"), the... |
In the EM algorithm, the E-step is
$\int l(\theta|X_{obs},X_{mis})f(X_{mis}|X_{obs},\theta)dX_{mis}$
, which means it tries to derive the expectation of $l(\theta|X_{obs},X_{mis})$ by the distribution of $f(X_{mis}|X_{obs},\theta)$. However, in page 2 of this article(I thinks this is also derived by the same way in Lit... |
Let $Y=(Y_1,Y_2)$ be a joint distribution with marginal distributions $Y_1$ and $Y_2$.
Let $X$ also be a random variable.
Is it the case that:
$$\mathbf{Var}\left(\mathbf{E}(X|Y)\right)\geq\mathbf{Var}\left(\mathbf{E}(X|Y_1)\right)?$$
If so, how does one prove this?
|
I read that it is because state-value function required knowledge of the model of the MDP and action-value function doesn't, but I don't understand why that is either. It seems to me that they are equivalence of each other.
|
Is it possible to create multivariate normal from the same normal variable?
That is i have a normal variable $x_1 \sim N(0,1)$, and $p$ normal variable $y_1$ which their marginal distribution is also $N(0,1)$ they are independent and distributed can be written together as $Y\sim MVN(\underline0,I) $ fbut have some cor... |
I have the parameter $\theta=exp(-\lambda)$. I want to show that the estimator
$R=(1-\frac{1}{n})^T$ is an unbiased estimator of $\theta$, where $T=\frac{1}{n}\sum_{i=1}^{n}X_i$ and it follows a Poisson distribution with expectation $n\lambda$
I know that $E(R)=exp(-\lambda)$ but I can't seem to get to this answer.
I ... |
I have a discrete nonlinear state space model :
\begin{equation}
\begin{aligned}
x_k & = f(x_{k-1},u_{k-1},\theta)+q_{k-1}\\
y_k & = f(x_k,\theta)+r_k
\end{aligned}
\end{equation}
$x_{k-1} \in R^{n_x}$ is the state of the dynamic system at discrete time $k$, $f: R^{n_x} \times R^{n_u} \rightarrow R^{n_x}$ and $h:R^{n_... |
This is a follow-up question of https://stackoverflow.com/questions/41127976/confusing-example-of-nested-cross-validation-in-scikit-learn.
How would one retrieve the best parameters of the inner cross validation loop of the nested CV example linked in that question?. Is it exactly the question raised in this issue: htt... |
I'm very new to Machine Learning, and I'm struggling to understand how to improve a model I built.
Let's say that I'm reaching a 60% accuracy on the test set, and a 70% F1-score, and given the problem (finance) it is very satisfactory, but I'd like to make it better.
I know that I can:
change the model: Neural Network... |
I asked 200 survey participants the same sequence of eight multiple-choice questions with four answer options (A, B, C and D). Here are the results:
All A's: 58
All B's: 1
All C's: 2
All D's: 0
Mixtures of A's, B's, C's and D's: 139
I want to work out whether these results are statistically significant, which I take ... |
I'm only starting to understand some of the subtleties that arise when choosing one dimensionality reduction technique over another. Now I'm wondering why it seems that in recent years, one of the more popular methods for nonlinear dimensionality reduction was/is t-SNE, while multilinear Principal Component Analysis se... |
Here is my problem:
Let $1\leq l<k$ be integers and write the design matrix $X$ as $X=[X_1\; X_2]$, where $X_1$ is an $n\times l$-dimensional matrix, and where $X_2$ is an $n\times (k-l)$-dimensional matrix. Show that the restricted LS estimator $\beta^*$ subject to the restriction $R\beta=r$ with $R=[I_l\;\, 0]$ and $... |
I am trying to implement an ANN, which has n different variables taken in input. I want them to be scaled in a range between 0 and 1. My question is: should I scale each column of input individually or together?
Thank you for your help.
|
I have a dataset with 30000 data points. I will use a neural network with resilient backpropagation to train it. I have two parameters to set for the resilient backprogation algorithm.
I wanted to use a subset of the dataset (use about 1500 data points) to tune the parameters. A validation dataset is included in the 1... |
I've recently learned gradient descent and it clearly gets stuck at local minimums when applied to non-convex functions.
Can't we just randomly kick the values in between steps when iterating?
Kind of like quantum tunneling. That would drastically increase the probability to reach global minimum.
|
I've always been puzzled by the discrepancy between several possible terminological uses for such a basic thing as "linear regression":
A certain number of sources just say it corresponds to the computation of the best linear (or more accurately affine) map between known inputs $x$ in $X = \mathbb{R}^n$ to known outpu... |
I perform a multivariate Cox analysis using 'survival' package in R
## Call:
## coxph(formula = S.6m.y ~ CD4.6m + sex_f.y + marriage_f +transmission_f.y + WHO_stage_2f.y + age_atART.y.y, data = data.6m)
##
## n= 850, number of events= 31
## (1129 observations deleted due to missingness)
## ... |
I have a simple question to check my math.
Consider a logistic regression, Model 1, which I'll discuss in terms of probabilities rather than logits to make things simpler. All variables are binary variables.
In Model 1, I find that Covariate1 increases the probability of "success" on my key binary DependentVariable by ... |
I have $N$ documents. Each document $N_i$ is annotated by a variable number of raters $n_i \in [3, 10]$ into two categories. Is there a way to compute the Kappa statistic for these annotations? My understanding from Wikipedia is that Fleiss' Kappa would not work, as it assumes that all $n_i$ are equal.
|
If I use Baum-Welch algorithm to best estimate the parameters for hidden Markov model, then I was thinking, instead of using Viterbi algorithm, why can't I just find the most likely hidden state for current time T by finding the most likely hidden state for 1 time sequence before via argmax of product of the forward an... |
In OLS you can reason to the direction of omitted variable bias by using the following formula:
OVB = [Omitted in long] x [Relationship between omitted and variable of interest]
My question: is there a similar method in 2sls? If I know that my instrument is not randomly assigned, how would I go about working out whe... |
I'm currently working on a neural net to predict a pseudo periodic signal like described in [1]. I don't work on ECG signals, but they are a pretty good source for testing.
Because I'm rather new in this field, I started with something simpler - predicting a sine. So I've created a NN with 3 sigmoid neurons in layer o... |
i want to impute a dataset with about 250 cases (about 150 NA in the target-Variable).
The target-variable is the amount a machine is used and there are some predictors like production-costs, co-workers and so on.
A machine can be used zero times as well.
I broke down the imputation in 2 steps.
Step
Decide if a machin... |
I have constructed a linear model (model3) and I'm trying to check the model's assumptions. As far the assumption of constant variance is concerned I have written the following piece of code
#constant variance
stud.residuals<-rstudent(model3)
yhat<-fitted(model3)
par(mfrow=c(1,2))
plot(yhat,stud.residuals)
abline(h=c(-... |
Let's assume on given year you have a 3% chance of being fired , 97% of not being fired
What are the odd after 4 years you are still employed?
This is hard because you cannot be fired twice
Denote N=not fired, F=fired
for four years, we have the possible outcomes
NNNN
FNNN
NFNN
NNFN
NNNF
But once you're fired employm... |
There are
Training Set,
Development Set (to tune the parameters)
Test Set.
Is it possible to use SVM with the Training Set and various of features set, to get various of classifiers, and then test the classifiers on the Development Set, pick the classifier that gave the best result, and test it on the Test Set?
Is ... |
Is there a parametric test to see if two sets of samples came from the same normal distribution with unknown parameter?
Suppose I have one set of samples $X_1, X_2, \dots, X_m$ and another set of samples $Y_1, Y_2, \dots, Y_n$.
Do we know a test to check if both of these were drawn from some normal distribution $N(\mu,... |
I am estimating a panel VAR using dynamic panel data models (DPD) like Arellano and Bond (1991). I would like to test the adequateness of the possible specifications through an over identifying restrictions test. The problem resides in the fact that when you put DPD models in a VAR framework the standard Sargan-Hansen ... |
I'm currently running a cluster analyses on a dataset that contains variables of categorical and continuos values.I applied the well-established Gower’s dissimilarity coefficient to account for categorical and continuous variables in the dataset. Clusters were characterised using the Partitioning Around Medoids (PAM) a... |
I have a dataset of the performance of probands in an experiment. An observer watching the performance noted positive and negative performance remarks on a simple tally, and ended up with something like
Proband ID Positive Remarks Negative Remarks
1 5 2
2 ... |
I have the nonlinear regression model $$y_i=\beta_0+\beta_1 x_{1i}+e^{\beta_2 x_{2i}}+u_i,\quad i=1,2,\ldots,n,$$ and the least squares assumptions are satisfied (see below). Let $\beta=(\beta_0,\beta_1,\beta_2)$.
Given this model, I want to examine the bias of the nonlinear least squares estimates of $\beta$. This est... |
Suppose I try to estimate classical difference in differences model:
$y = \alpha + \beta*T+\gamma*A+\theta*T*A+\epsilon$
where:
$\mathbb{E}[\epsilon|T,A]=0$, $T\in \left\{0,1\right\}$, $A\in \left\{0,1\right\}$
For concreteness let's say that:
$y = $ log of firms;
$T$ is equal to 1 after the reform;
$A$ is equal to 1 f... |
Is there any specific reasons why the evolutionary algorithm is an inappropriate method to use when searching for a key to decrypt a coded message. When there are billions of wrong answers and only one right answer.
|
I'm trying to understand the "mechanism" behind the calculation of ACF values in a time series. As a "prove-it-to-myself exercise" [NOTE: I updated the code in this link to reflect the information in the accepted answer], I am not focusing on the elegance of the code, and I use loops on purpose. The problem is that, al... |
What is the difference between a time series design and a repeated measures design?
Is it correct to say time series is a kind of repeated measures design?
|
I want to infer the conditional posterior distribution of the unknown system parameter $\theta_1$ given the empirical data $\boldsymbol{y}$, with $\theta_1 \in \mathbb{R}$ and $\boldsymbol{y} \in \mathbb{R}^3$. I have a numerical model $f(\theta_1)$ for the data. The model response differ from the data by some amount d... |
Is there a practical or theoretical difference between count time survival analysis (e.g. ctset/cttost in Stata), where counts of events per time-interval is set, and discrete time survival analysis, where continuous time to event is treated as discrete. For example, a study where death of participants can only be obse... |
I just browsed through this wonderful book: Applied multivariate statistical analysis by Johnson and Wichern. The irony is, I am still not able to understand the motivation for using multivariate (regression) models instead of separate univariate (regression) models. I went through stats.statexchange posts 1 and 2 that... |
Suppose you want to give free trials to Amazon Prime but only want to give the trials to users who are most likely to subscribe since giving free trials to everyone would be expensive. What would be a good response variable for this problem? There are two flavors of Amazon: Amazon Prime and "Free Amazon". The goal is t... |
The first uploaded image presents the ACF and PACF after the series differentiation. I observed the pattern at lags 7, 14, 21 etc. and recognized it as the seasonal pattern, having the original data that was "daily".
The second picture presents the ACF and PACF after seasonal adjustment. Now i need to choose paramete... |
Let's say that I have 10,000 people do a study, and in this study they have to spot a bird in a scene as quickly as possible. There are various possible birds that may be presented to each person, and each person is able to complete the task in one of two ways (will refer to them as method A and method B). Each person ... |
I am just getting started with machine learning and I have a question that I have had a hard time researching as I am not sure how to refer to it.
If I have a dataset:
TIMESTAMP X Y Z A VAL
170103 10 20 21 2 6
170102 11 19 21 3 8
170101 9 19 18 ... |
I was asked the following question in an interview.
Let's say we have a correlation matrix of the form
\begin{bmatrix}1&0.6&0.8\\0.6&1&\gamma\\0.8&\gamma&1\end{bmatrix} Find the value of $\gamma$.
I thought I could do something with the eigenvalues, since they should be all greater than or equal to $0$ — the matrix ... |
I am conducting a study where I am interested in predicting a dichotomous outcome (poor outcome yes/no) for patients in a hospital setting. Specifically, I want to compare how different summary measures for the first week of admission affect the models' discrimination, as measured by the c-index (aka area under the rec... |
I am trying to fit ARIMA model for my dataset. I did the following steps:
Here is my dataset plot and log plot after log transformation (ds_log).
In order to archive stationary, so I transformed by log and diff. I tested stationary by Ljung-Box and KPSS. We can see the fitted model is quite good for diff(ds_log). The... |
In the following Paper by Clare Rutterford, Andrew Copas and Sandra Eldridge, the following formula is given for sample size calculation:
assuming the following properties:
• m - number of clusters
• n - size of each cluster
• $\alpha$
- significance level for the two sided test
• 1-$\beta$
- power
• $\sigma^{2}$
-... |
I have the salary dataset that contains skills as single column(Independent Variable) and Salary as Dependent Variable. Then I split the skill column into multiple Skill column based on its presence 0 or absence 1.
eg:
emp_id skills Salary
1 R,python,excel,word 4000
I made dataset transition like this:
emp_id R Pyt... |
I have 2 lists of variables. Let's say both lists contain approximately 500 variables.
Each of the variable in these lists allows me to split a cohort into 2.
So, for each of the variable, I have computed a Mann-Whitney test.
I thus have 2 distributions of p-values, one for each list.
Does it make sense to compare t... |
In articles such as "Research #1: Generative Models" one reads once more statements such as
These images are examples of what our visual world looks like and we refer to these as "samples from the true data distribution"
the images meant are the ImageNet dataset.
We also read statements such as
Mathematically, we ... |
The experiment which I need to analyze deals with the development of epilepsy. There are two groups of animals which differ by the genotype. Over several days each mice in the group receives the same kind of treatment (injections). After each injection the severity of seizures is measured according to 5-point scale. In... |
I have a set of data that are arranged along an index, with y values that sometimes exceed a threshold. I am interested in finding clusters of data along the index automatically. In the example below, the green dots are data points (original data set) while the red rasters are points which exceed the threshold (the dat... |
Premise: this may be a stupid question. I only know the statements about MLE asymptotic properties, but I never studied the proofs. If I did, maybe I woulnd't be asking these questions, or I maybe I would realize these questions don't make sense...so please go easy on me :)
I've often seen statements which say that t... |
I am trying to use the R package lgcp to estimate density based on a point pattern over time. I follow the example given by the authors of the package in this article, but even the first step (copied from page 25 in the article) fails.
My data is available here bad-sample.RData (21 kb) and it consists of two objects: x... |
I want to use the first predicted factor score from PCA as an independent variable in the regression analysis. The factor score is skewed. Is it plausible to apply the ln transformation to the factor score, so to treat the factor scores as ordinary numeric independent variables?
|
I have a sample of 9 patients.
If I evaluate the correlation with the Spearman's test between some variables I measured in time 0 and then I repeat the same test with the same variables in time 1, is it normal that the results of "significant correlation" change?
In particular I find several significant correlation in ... |
I typically encountered gamma distributions to model response time after a certain event. As far as my statistics goes, that is its natural place. However, in a recent piece of work of mine, I found gamma distribution perfectly modeling the number of order lines within a store order. Why is that?
Definitions for the ge... |
I want to count instances of an object in an image.
I can generate as many images as desired in an automated fashion. However I can not yet guarantee that one instance will not completely cover another instance. My Data-Generator would return that there are (for example) 5 instances visible, but even a human could only... |
I've got a time series program that creates various models and test each one at the first 10% of data and selects the most fitted one and the program runs incredibly well.
If I change this selection criteria to test on the last 10% of data (which makes more sense because that means the model is "up to date", it gone we... |
I have two datasets that are very similar (such as two survey dataset that contains common variables and from a common period of time). How do I compare the result of the same model from two different data in order to see whether two datasets provide similar results?
I used this model for both data sets:
basic ordered ... |
Sorry for the unspecific title, but my lack of a way to accurately describe the problem is part an parcel of the problem itself. I'll try and demonstrate clearly through example, as I'm not confident in my describe the problem clearly.
In a very simplified example, let's say I have a company which ships some products ... |
I have 40 predictors on which I ran a PCA and shortlisted 14 PCs (explaining 95%) as my predictors.
I am running a generalised additive model with 14 PCs as predictors. I check the model assumption of GAM which shows that my data violates the assumption of homogeneity.
My question is this:
(1) Can I do a data transf... |
Let us consider the regression model: $y_i=ax_i+bz_i+abu_i+e_i$ ($1\leq i\leq n$) where $e_i$ are iid mean 0, same variance random errors. Obtain the least squares estimates of $a$ and $b$.
So I think I can proceed simply by minimising $\sum_{i=1}^n(y_i-ax_i-bz_i-abu_i)^2$.
The normal equations are $\sum_{i=1}^n(x_i... |
I'm trying to measure association in my basket based on transactions. Let's imagine I have 5 products. Then, I calculate the number of client who bought product A and B, A and C, B and C and so on.
Total columns is the number of clients who bought the product.
I calculate penetration rate (or support when we use assoc... |
I need some advice to decide which aggregation method is better in my case. I want to create an aggregated variable which is a composite of 16 variables. All 16 variables are part of one big concept, so I think I could use PCA or CFA for this task. I need only one variable and not 16, since I will use it later as an in... |
Let's assume we have two groups of patients, a control group and a treatment group. They were asked a question and the answer can be yes or no. Since I come from biological science where I used mainly regression methods I would
use logistic regression. A friend of mine from the sociological sciences would analyze this ... |
We have the random variables:
$$ m \sim N(0, K_m)$$
and
$$f \sim N(m, K_f) $$
Supposedly the $f$ Gaussian is the same as $f \sim N(0, K_m + K_f)$
What is the proof or why is it like that if it is obvious?
|
Consider the elementary identity of variance:
$$
\begin{eqnarray}
Var(X) &=& E[(X - E[X])^2]\\
&=& ...\\
&=& E[X^2] - (E[X])^2
\end{eqnarray}
$$
It is a simple algebraic manipulation of the definition of a central moment into non-central moments.
It allows convenient manipulation of $Var(X)$ in other contexts. It als... |
I wonder whether it is sensible to use the following method of assessing relative importance of variables in a model.
Compute a model and its $AIC$. Let's say it has $k$ predictors.
Compute $k$ submodels, each of which has one predictor removed. Compute $AIC$ for all the submodels.
Compute $k$ times $\Delta AIC$, whic... |
According to Lo and Andrews, 2015 (https://doi.org/10.3389/fpsyg.2015.01171) raw Reaction Time (RT) should be analyzed with a GLMM, instead of transformed values with LMM or even ANOVA. They and others point out a gamma or inverse gaussian with an identity link function should be used.
My data is from RTs before and af... |
I have dataset with 64 features that I'm using to model 6 labels bounded on the interval [0,1]. These labels are highly related and it therefore seems reasonable to model them all at once rather than individually.
To model these labels I use a weight matrix with a parameter for each feature + label combination and a b... |
I need to obtain a mean and standard error for energetics values for a bird population for use in a Monte Carlo model. The following data were obtained from the literature:
males: mean = 3792.000 kJ/day, SD = 723.290, SE = 273.378, n = 7
females: mean = 3054.333 kJ/day, SD = 13.051, SE = 7.535, n = 3
I calculated the ... |
I don't understand the value scipy.stats.chi2_contingency is giving me. The expected values seem fine, but the $\chi^2$ value is different from what manual calculation and online calculators give me.
Example data table:
Response 1Response 2
Group 1 1991 1647
Group 2 3181 ... |
I am reading Eigenfaces for Recognition to understand the Eigenface approach but I can't follow the derivation of the PCA as presented on the paper.
In the algorithm it is necessary to do a PCA using a covariance matrix $AA^T$. However, $A$ is of size $N^2\times M$ where $N$ is the dimension of the image and $M$ is the... |
I would like to compute concordance index to validate Cox model. From the following post concordance rms I know that I can use rms package and rcorr.cens function. My concern is that Concordance index reported by rms is different from the one reported by the summary of coxph model from survival package. Here is my exam... |
I have a series of 3-4 attributes (call them $X_1$, $X_2$, $X_3$) which can all have values of, say, any number on $[1,100]$. What I'd like to do is, first, build a group of decision trees (call them $T_1, T_2,..., T_n$) and weight them using a training set. Then, depending on how well each tree is doing at a given tim... |
I am unsure of how to establish (or interpret) the independence condition of the chi-squared test in (for instance) the following situation.
Consider this 2x2 contingency table representing the number of 'statements' that are either negative or positive, by members from the genders 'male' and 'female'. None are member... |
I have a linear model $y=ax+b$. I have fit the relations using two data sets. I have found that estimate of $a$ from the two data sets are similar, but that the uncertainty of $a$ is much larger in one of the data sets. I am using the $\chi^2$ test of variance to show this. The test statistic is
$$T=(N-1)(s/\sigma_0)^... |
I'm tyring to better understand ANOVA. I did a simple one-way ANOVA, in R, as follows:
Year represents the year a student is in college (Freshman, Sophmore or Junior). Score represents their score on a test. Is the following interpretation correct:
Since the p-value of the ANOVA is .756, we can conclude there is no di... |
I am a medical doctor not a statistician. I have 60 patients who were assessed by 400 doctors (each doctor individually evaluated the clinical data on each patient). The doctor was then asked to say whether the patient had disease A or not. I have the survival time and vital status (dead or alive) on each patient.
The... |
If I want to run a regression OLS on financial data $y=\beta x + e$ do I need both the $x$ and $y$ to be stationary or is it fine if just the independent variable is stationary? What is usually done in practice?
|
I have a question about a practical design of experiment challenge I'm currently facing for my Ph.D., specifically about the selection of design points to investigate. The severely restricted case I'm running into isn't really covered by any books on the subject, however it would seem rather weird if there is no method... |
If I've multiple attributes of a variable say weather (Windy, Cloudy, Overcast). After calculating the Gini index of each value. I've to apply CART algorithm, as it works on binary split. which pair of combination of values would i need to go for (with less or high Gini ) ?
|
I would like to estimate the partial derivatives of a dependent variable $y$ against a number of independent variables $x_i$, $i \in [0,n]$.
I can easily differentiate the dependent and independent variables and perform a simple linear regression to approximate the first order partial derivatives.
However it is not cle... |
I am wondering about the effectiveness or optimality of Kalman smoother algorithm for multiplicative state space model with gaussian errors. Can I still use the standard linear gaussian kalman smoother algorithm if I have an interaction between a deterministic and a stochastic elements of the state vector in the measur... |
Consider a hotel that serves lunch to its customers. Each day, some customers will arrive and some will leave such that in each day there are 100 customers in the hotel. About 80% of the customers have lunch at the hotel.
Every customer has a equal probability (1/7) of leaving in any of the 7 days that follow the check... |
Let $f$, $g$ and $h$ be densities and suppose you have $x_i \sim h$, $i \in \mathbb{N}$. What happens to the likelihood ratio
$$
\prod_{i=1}^n \frac{f(x_i)}{g(x_i)}
$$
as $n \rightarrow \infty$ ? (Does it converge? To what?)
For instance, we may assume $h = g$. The general case is also of interest.
|
Let the Cartesian $x,y$ coordinates of a random point be selected s.t. $(x,y) \sim U(-10,10) \times U(-10,10)$.
Thus, the radius, $\rho = \sqrt{x^2 + y^2}$, isn't uniformly distributed as implied by $\rho$'s p.d.f.
Nonetheless I would expect $\theta = \arctan{\frac{y}{x}}$ to be almost uniform, excluding artifacts due... |
I have a variable (weight of 400 pieces of meat in Kgs) that is measured before and after a thermal process.
The explanatory variable is the weight before processing and the response is the weight after it.
The standard deviation of the response variable around twice the explanatory variable.
It’s common sense that lar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.