instruction stringlengths 9 38.7k |
|---|
I am currently working on an project where my dependent variable is available in the form of a Likert scale from 1-5. But before I will run my model on real data I want to test it on artificial data, but I am struggling how to simulate data for this kind of data.
I want to build a Bayesian ordered logit model (later I ... |
I have a data that looks smth like this:
Patient | Side | X | Y | Z
--------------------------------------
1 | Left | 1.3 | 0.5 | 3 |
----------------------------------+
1 | Left | 1.2 | 0.6 | 3.14|
----------------------------------+
1 | Right | 1.3 | 0.5 | 4.5 |
-------------------------... |
I'm using random forest to predict a binary classification target, that I obtain putting a threshold on a continuos feature. Before fitting the classifier I compute the correlation matrix with the sklearn $corr()$ function, among all my data including the target both continuos and binarized. Intuitively, I do this sinc... |
I am reading the proofs of regrets bounds of UCB algorithms, and find the following thing quite confusing.
Suppose $T_i(t)$ is the number of times pulling arm $i$, and $I_i(t)$ is set of stages pulling arm $i$, so we have $|I_i(t)| = T_i(t)$. By UCB algorithm, the set $I_i(t)$ should be random because it is determined... |
I'm trying to test if a specific country's president's unexpected statements create a structural break in the exchange rate series (dollar).
I decided on what to do in what order but I'm having a hard time choosing models and tests. I'm not good at time series analysis and cannot decide trustfully. I know that the data... |
I read online that a uniform distribution gives to all its values the same probability to occur. In the discrete case, an example of this would be a coin flip. (as they have the same probability to occur)
Doesn't this also fall under the binomial distribution, as they are independent trials, and the probability of succ... |
I used partial least squares regression (no intercept) with 10-fold cross validation and my RMSECV monotonically increases as shown below:
I cannot find any literature on this phenomenon - does it mean that there is no relationship between the predictor variables and response?
|
While studying ROC curves, I came across the idea of misclassification costs and prior probabilities. ROC tells us about the sensitivity and speficity, while not considering the cost and priors. I wanted to know, if there is a way that we can combine both cost and priors, or consider them jointly in our ROC curve?
Than... |
I have a dataset and I was wondering if it is possible to transform the data to a new min, max range but while keeping the standard deviation of the dataset the same.
Thanks!
|
Suppose I have a weight function $w(x)$ defining a probability distribution $P(x)$ for $x \in D$ as $P(x) = \frac{1}{Z}w(x)$, where $Z = \sum_{x'} w(x')$.
However, I do not know $Z$ because it is expensive to compute ($D$ is large). I only know how to compute $w(x)$ for any given $x$.
In other words, $w(x)$ represents ... |
Suppose we have a machine learning model (e.g. an SVM) and we've run a search over multiple hyperparameters (e.g. kernel, C) to gauge performance.
How would we gauge whether changing one parameter (e.g. C: 1.0 -> 1.5) creates a statistically significant difference in performance? Could we determine aggregate statistic... |
I'm in the process of conducting a multiple regression model and have created the following test to see the variance of the residuals in my model. That is the graph for the original data and has had no transformations done to it.
The only transformation which made the homogeneity and r-squared better was a square-root... |
Consider the following survey conducted by Google and Gallup about gender differences in computer science learning:
https://services.google.com/fh/files/misc/encouraging-students-toward-computer-science-learning-brief.pdf (page 1-2)
Among other findings, it says that in a survey (conducted in 2015-2016), 57% of 14-year... |
I have 5 variables: A, B, C, and D. A and B are two different scales and are my dependent variables. C (categorical) and D (continuous) are fixed effects. C is also a categorical variable having 3 levels (0,1,2). My goal is to understand if C is a significant predictor when fit against A and B. I analyze this in the fo... |
Let we have $n$ independent and identical random variables from gamma distribution with parameters $2$ and $\theta$, ie $G(2,\theta)$ where $n$ is greater than or equal to $2$. Check whether the following are sufficient and complete:
$\overline{X}$
$\overline{X}^2+3$
$(X_1,\sum_{i=2}^{n} X_i)$
$(X_1, \overline{X})$
I... |
Consider as an example the following Var(1) process:
$y_t=Gy_{t-1}+\varepsilon_{t+1}$, where $\varepsilon_{t+1}$ is white noise and the matrix $G$ has all eigenvalues strictly smaller than 1. Then by standard results the process is stationary, and since $\sum_iG^i$ is absolutely summable, it can be represented as a MA(... |
From what I understand about the data, there should not be a Y-intercept in the model (assume that for any regression model we obtain from mlr,l1,l2, the intercept is of negligible value). I understand that MLR doesnt care about the distribution of the data - one can even fit it without standardizing anything, whereas ... |
I am studying gaussian mixture models. The first step defines the following equation.
They then proceed to marginalize $z_n$ out
My question is, how did they arrive at that equation ? Where did the product over $K$ go to ? Marginalizing over $z_n$ means to sum over $z_n$. But there was a multiplication over $n$ in t... |
What would be the distribution of the following ratio?
$z = \frac{x_{1}}{|x_{1}|^2 + |x_{2}|^2 + ... + |x_{M}|^2}$
where $x_{i} \sim \mathcal{CN}(0,a), \forall i$ and $a > 1$. As can be seen, the denominator follows a Chi-square distribution with $2M$ degrees of freedom as $x_{i}$ are i.i.d. R.V.s.
Remark 1: I've run ... |
To describe my problem. I'm predicting the price of an item depending on some text and other features in an ad. The training data contains a bunch of cheap items, some medium price items and few expensive items.
I log1p the prices but even then it's no surprise that when the real price of an item is low my model gives... |
I have been trying this for an hour now, but I can't seem to find out how this conclusion is drawn. This is from the book by Greene (Econometric analysis p 53).
What may be confusing me is that I don't know what the difference between $E_{x,y}$ and $E_yE_x$ is. I have interpreted the first as expectation over both ... |
Could you suggest me some references about parameter's correlation in ARIMA model? I read on Bee Dagum (2001) that coefficent's correlation cannot be more of 0.8, because the model could be instable. Why? Thank you.
|
I have a question about F-test Stepwise regression.
https://en.wikipedia.org/wiki/F-test
Regression problems
When doing F-test stepwise regression, the F statistic is calculated as below.
$$
F = \dfrac{
\dfrac{RSS_1 - RSS_2}{p_2 - p_1}
}{
\dfrac{RSS_2}{n - p_2}
}
$$
The right side follows F-distribution if $(RSS1 - RSS... |
As per this and this answer, autoencoders seem to be a technique that uses neural networks for dimension reduction. I would like to additionally know what is a variational autoencoder (its main differences/benefits over a "traditional" autoencoders) and also what are the main learning tasks these algorithms are used fo... |
I’m trying to detect various features of a toy train track while driving on it:
The primary input is data from an optical sensor. The following image shows the recorded signal when driving over the railway switch (at the bottom of the pictured track) and the curved segment after it (click to enlarge):
I want to dete... |
Al Rahimi has recently given a very provocative talk in NIPS 2017 comparing current Machine Learning to Alchemy. One of his claims is that we need to get back to theoretical developments, to have simple theorems proving foundational results.
When he said that, I started looking for the main theorems for ML, but could ... |
I am recently learning ANOVA technique, its different mathematical proofs models etc, but somehow I cannot visualise properly its practical use in real life.
|
I have a large dataset (approx. 400,000 rows, 650 columns). Out of this 650 columns, 500 are dense (nonzero over 10%) and 150 are sparse (nonzero less than 10%).
As expected, the random forest has difficulty selecting the sparse features for any splits, while they are expected to hold at least some predictive power (A ... |
The "check function" in quantile regression is defined as
$\rho_\tau(u) = u(\tau-1_{\{u<0\}})$
I do understand the basic princible of quantile regression. Now I tried to dig a bit deeper to understand the basic algebra behind it. Now my, probably very trivial question regarding the above mention function:
I read the or... |
Can someone explain to me how I calculate the non-redundant parameters? I read everywhere that you calculate this by $\frac{p(p + 1)}{2}$,
but do you have to do this per latent variable or in total or with aptitude and social support combined (since they covary)?
Thank you!
|
I am trying to solve a challenge in which I have a number of cases (in the magnitude of 100-200) and for each case I want to solve a binary classification task.
In more detail, for each case I have a number of documents by one author, and another document of unknown origin. My task is to decide if the document was writ... |
This is my first post here.
I am making a financial model in excel of the feasibility of a project.
Herefore I need to make some assumptions. One of those assumptions would be the fuel price and how it could fluctuate in the future.
I have taken the historical fuel prices of the last years (365 measurement points in t... |
i have some question about serial correlation:
What are the effects of residual serial correlation when the regressors are strictly exogenous?
What are the effects of residual serial correlation when the regressors are lagged dependent variables?
|
The Fokker Planck Equation(FPE) is related to the Stochastic Differential Equation
$dX_t = m(X_t,t)dt + \sigma(X_t,t)dW_t$ where $dW_t$ is normally distributed. What is the corresponding FPE like equation if $dW_t$ follows some other distribution?
|
I've got following data representing survival function.
# A tibble: 53 x 2
month survival
<int> <dbl>
1 0 1.00
2 1 1.00
3 2 1.00
4 3 1.00
5 4 1.00
6 5 1.00
7 6 0.999
8 7 0.998
9 8 0.997
10 9 0.993
11 10 0.984
12 11 ... |
Topps, the collectible baseball cards manufacturer, claims that each pack of cards has 10 cards. In a sample of 50 packs, it was found that there were 9.75 cards per pack. Do these results support Topps claim ? Use a level of 0.05 significance.
I came across this question on the internet. I can't figure out which stati... |
Using Poisson Distribution
On average, 20cabs drive past your office every 30 minutes. What's the probability that 30 cabs will drive by in 1 hour?
To do this, I'm using the formula $$P(x) = \frac{(e^{-u}*u^x)}{x!} $$ where u is the mean number of successes.
I let u = 40 (since it's 20cabs/30 minutes) and let x=30, and... |
My objective is to approximate an (unknown) non-linear function whose:
input is an unordered collection of an arbitrary number of (x,y) coordinates (imagine a cloud of, say, between 1 and 1000 points in two-dimensional space)
output is one number
I have example inputs and corresponding outputs produced by a numerica... |
I have a data-set with a decent number of attributes, half of them nominal. I used a binary vectorizer to convert the nominal attributes to numerical, but now there are far too many of them. I'm not sure how to use PCA on the data-set for the best results. Here are the three approaches I thought of:
Load the data, rem... |
Suppose the random variable X represents the angle of a slice of pie.
The angle X has a uniform distribution on the interval [0,90]
What's the probability that a slice of pie will have an angle between 30 and 40degrees?
Since this is a uniform distribution, f(x) is 0 everywhere except $30<x<40$, where $f(x) = 1/(40-30)... |
I'm trying to model a bivariate distribution using copulas in R. See image below for the pairs plot of the data. Variable 1 can be modeled nicely using a gamma distribution, but variable 2 fails miserably. I think the only way variable 2 could be modeled is by a customized piece-wise distribution?
See the histograms b... |
I'm going to walk through some logic that I believe I've heard somewhere before...but I can't remember where and I am interested in citing it. Does anyone know where I could cite this type of thinking and its conclusion?
Also, I am interested in whether this line of reasoning is correct, or if there are some holes in ... |
When the regressand is in logarithmic form, the model looks like this:
$$log(y)=X\beta+u$$
When we are ultimately interested in predicting $y$, we cannot simply use $exp(X_0\hat\beta)$ as a predictor. Rather, we have to solve the following expression:
$$\begin{align}
E(y|X) &= E(exp(X\beta+u)|X) \\
&=E(exp(X\beta)*exp(... |
Let $X \sim \text{Normal}(\mu, \sigma^2)$. Define $Y = \frac{e^X -1}{e^X+1}$. The inverse transformation is $X = \text{logit}\left(\frac{1+Y}{2}\right) = \log\left(\frac{1+Y}{1-Y} \right)$. By the transformation theorem
$$
f_Y(y) = f_X\left[ \log\left(\frac{1+y}{1-y}\right) \right]\times\frac{2}{(1-y)(1+y)}.
$$
Does th... |
I'm having a little trouble understanding this problem, and am wondering what I'm missing..
*A jar contains blue and red marbles, and you draw two marbles consecutively without replacement. Here are known probabilities:
-Probability of selecting blue then red marble is 30%
-Probability of selecting red marble on the fi... |
I have some simulated positive ($x$, $y$) data that, when plotted, produce an asymptotic rectangular hyperbola. I would like to test the following using a subset of the data (specifically, data that make up last part of the curve, which forms essentially a straight line, hence the reason for carrying out linear regress... |
I'm trying to build a simple Bayesian regression model to test Edward. However, I notice significant different between Edward's PPC results and PyMC3's.
Common code to generate a data set.
import pandas as pd
import numpy as np
def generateData(intercept=1, slope=3, noise=1, n_points=20):
df = pd.DataFrame({'x': ... |
I am confused with a part about spectral densities. I found it in Time Series Theory and Methods by Brockwell and Davis.
I don´t understand how is applied the Riemann Stieltjes Integral in this case, I have seen the definition of Riemann Stieltjes in Wikipedia but I can´t get that conclusion.
How is it concluded?
|
I am doing text analysis , I know before entering text to analysis , we need to do some pre-processing like return the word to its roots.
However, some words have different meaning like "meet" and "meeting" or "product" and "production" so if I return the word to its roots, the meaning would go.
Is there pro and cons f... |
Bhattacharyya distance between two distributions $p$ and $q$ is defined as $D_B(p,q)=-\log(\int\sqrt{p(x)q(x)})dx$, The KL-divergence is defined as $D_{kl}(p||q)=\int p(x)\log(\frac{p(x)}{q(x)})dx$.
If $p$ and $q$ are Gaussian ( $p(x)=\mathcal{N}(x|\mu_p,\Sigma_p)$ and $q(x)=\mathcal{N}(x|\mu_q,\Sigma_q)$ ) then
$$
D_... |
How do you analyse and obtain a p-value from a 2*2 table examining a binary outcome that is paired, when one cell has zero events?
To clarify, I was looking at the success rate of obtaining an adequate image, using two different ultrasound windows, in the same participant. Then we repeated this experiment for 30 differ... |
There is a finite set $W$ with two distinguished points $A$ and $B$. There are two measures of closeness of a given $X\in W$ to $A$ and $B$, respectively, denoted by $\rho_A$ and $\rho_B$.
In particular, $\rho_A(X)=0$ if and only if $X=A$ and $\rho_B(X)=0$ if and only if $X=B$.
My aim is
1) To find some (statistical) m... |
From Theodoridis' Machine Learning, exercise 3.26.
Consider, once more, the same regression as that of Problem 3.8, but with $\boldsymbol\Sigma_{\boldsymbol\eta} = \mathbf{I}_N$.
For context, this is the regression model
$$y_n = \boldsymbol\theta^{T}\mathbf{x}_n + \eta_n\text{, } \qquad n = 1, 2, \dots, N$$
where $\b... |
In the linear regression model, we have
$$\mathbf{y} \mid \boldsymbol\theta \sim \mathcal{N}(\mathbf{X}\boldsymbol\theta, \boldsymbol\Sigma_{\boldsymbol\eta})$$
$$\boldsymbol\theta \sim \mathcal{N}(\boldsymbol\theta_0, \boldsymbol\Sigma_0)$$
I am interested in finding the distribution of $\boldsymbol\theta \mid\mathbf{... |
so I got similar results from a t-test output for my p-value 2.50e, but am not sure if it's correct or how to interpret.
11043 3203
Mean 11333.75 3187.833333
Variance 264633.0652 203.1014493
Observations 24 24
Hypothesized Mean Difference 0 ... |
Where x is non-negative continuous random variable and C is a constant.
|
I've heard that if $x$ and $y$ are independent, then the following inequality holds $ I(z;x) + I(z;y) \le I(z;x,y)$
But if $x$ and $y$ are not independent, then how would such inequality change?
that is, what is then the relationship between $I(z;x)$,$I(z;y)$,and $I(z;x,y)$ ?
|
The non-parametric regression model to be estimated looks like the following
x_t = b(x_t-1) + epsilon_t
Forfinding the optimal bandwith h in the kernel regression a cross-validation method (leave a point out and estimate it with the rest of the sample) is used and evaluated via the expected prediction error (EPE). Thi... |
The Brownian motion has a power spectral density (PSD) dependency on frequency like $\frac{1}{f^2}$. As far as I understand, power spectral density is defined only for wide sense stationary processes but the Brownian motion is not stationary.
Could anyone please explain why can we define PSD for the Brownian motion?
|
I am working with complex models. I fitted two different models to my data. Then, I calculate the logliklihood function and the AIC and BIC values. I found that the log likelihood of the first models is higher than the other models, while the AIC and BIC corresponding to the model with higher log likelihood is larger t... |
Prelims
In the article Sequential updating of conditional probabilities on directed graphical structures by Spiegelhalter and Lauritzen they give an approximation to the expectation of a logistic transformed Gaussian random variable $\theta \sim N(\mu, \sigma^2)$. This uses the Gaussian cdf function $\Phi$ in the appro... |
I am reading possibly conflicting statements in different sources.
Sometimes I think I understand that the word "Wald test" refers to
any kind of test of whether the value of a parameter (whether in a linear model or not) is significantly removed from a null hypothesis. i.e. the Wald test outputs one of $\{\text {Rej... |
I would like to know if the following assumption is correct:
"In the 10-Fold Cross-Validation we use 100% of data set for the training and 100% of data set for the test"
For the training I'm sure we can say yes, but for the test?
I think that for each iteration, if we use different 10% part of data for the test, at th... |
Response variable: detection/non-detection of voles, 0/1 data
Explanatory variable:survey events/day where predator present
number of days = 12
range of events = 13
Coefficients/logits = -1.145, -0.132
In order to convert this to the probability of response variable = 1 I was
trying this: P(vole detection=1) = p = ... |
I am learning Bayesian Statistics with this course here. I use the Bayesian Sampling package here and I got the following plot with R such that
library(BAS)
test <- BAS::bas.lm(data=mtcars, formula = mpg ~ ., prior = "JZS");
image(test, rotate=FALSE)
I guess that posterior odds can be calculated from log posterior o... |
I've split my data into three sets before doing any pre-processing; training, validation and testing. I thought that any pre-processing tasks have to take place after splitting the data. However, some online posts seem to be saying that any outlying values should be removed (if they are to be removed) before the data i... |
I am testing some time series on Eviews, which are 10-year treasury constant maturity rate and 3-month treasury bill.
I need to test for the order of integration of the former, and the cointegration between them. But I'm not sure whether to transform them into logarithm form or not.
I read somewhere that if it's inter... |
a. 56 cells (87.5%) have expected count less than 5. The minimum expected count is .02.
Df: 49
P Value: .049
Is this result significant or I may select any other test?. Please guide me.
|
I am trying to build a binary classifier from a relatively large medical data set (1 - disease, 0 - no disease). The data set contains about 500 patients, of which 9% have the disease, and about 70 features (predictor variables).
I would like to try:
Feature selection - to reduce the number of features
SMOTE for balan... |
I have a dataset something like this (y variable vs Age, please ignore the green lines)
I want to add the quantile regression curves (0.025,0.05,0.5,0.95,0.975) to my plot. The problem is that the nature of observations between 0 to 1 (birth to one year old age) is completely different from (one year to 18 years). Any... |
Whenever people talk about the set of moments of a random variable X, they usually are referring to $\{E(X^n)|n\in \mathbb N \}$, where $E(X_n)$ is called the "$n$'th moment".
Also, $\{E[(X-E(X)]^n)|n\in \mathbb N \}$ is the set of "$n$'th central moments".
However, we can define a more general class, namely the set of... |
If you take $N$ independent uniform random selections from a discrete space with $M$ possibilities (with replacements), then what proportion of the possibilities will have been selected?
Formally, this problem can be stated as follows. Let $X_1, ..., X_N \sim \text{IID U} \{ 1, ..., M \}$ and let $\mathcal{S} \subset... |
The 2x2 contingency table below shows the number of judges who have (1) or have not (0) applied a certain law in their rulings. The columns break down these numbers as a function of the judges' level of education: standard or advanced. The hypothesis (H1) was that judges with advanced education would apply said law mor... |
My stats textbook (De Veaux et al., 2008) advises using the terms response variable and predictor/explanatory variable in observational studies vs response variable and factor in experiments. However, I've also found comments on Quora that suggest that the term response variable is inappropriate for observational studi... |
Here are three (somewhat related) questions about the (Generalized) Method of Moments. I have only just today started studying this method.
Concerning the following statement by Greene:
Why is $g$ not a function only of $Y_t$? My understanding was that $g$ should be computable from the sample, but if the true par... |
Suppose we have a Multivariate Gaussian model, with some observed data $X$:
$$X \; | \; \mu, \Sigma \sim MultiNormal(\mu, \Sigma)\\
\text{each }\mu_i \sim Normal(\mu_0, \sigma_0)$$
and some prior on $\Sigma$, e.g. Inverse Wishart.
My question is: Does the choice of the prior for $\Sigma$ influence the marginal posterio... |
Consider a data frame with three variables: $x_1$, $x_2$, and $z_1$. I want to know if the correlation between the $X$ variables depends on $z_1$. Now, this could easily be done with an interaction term in ordinary least squares regression. However, that requires me choosing one of the $X$ variables to be the independe... |
I am building an LSTM, to attempt to learn the trend historic trend of some time-series data set (e.g. the daily share price of a company). When training my network, I am taking batches of size 1, each consisting of 25 sequential daily closing prices, where it then makes a prediction for the price on the 26th day.
Say ... |
This may be an odd question, but am learning about hypothesis testing and having a hard time with the logic of it, especially getting comfortable with how to draw a conclusion from the null hypothesis!
For example, here is an example question: Test the hypothesis that the mean weight of North Americans is at least 175l... |
I have two predictors in a linear model:
$$y \sim 0.6*x_{1}$$
and
$$y \sim 0.8*x_{2}$$
the bad thing here is that $x_{1}$ and $x_{2}$ are around 60% correlated. when I turn this into a multi-regression, the result becomes:
$$y \sim -0.25* x_{1} + 1.1*x_{2}$$
$\beta_{1}$ changed sign and $\beta_{2}$ becomes bigger.
I c... |
I have a doubt with Weibull Accelerated failure time model Hazard ratio's confident intervals interpret from SAS output, thake this as an example:
Standard 95% Confidence Chi-
Parameter DF Estimate Error Limits Square Pr > ChiSq
Intercept 1 0.4258 0.8463 -1.... |
I am studying time series, following Time Series Theory and Methods by Brockwell and Davis. I am reading the proof of the Herglotz Theorem, I have the following questions.
First, the proof given in the book is the next one:
I don´t understand the equality given in the proof (I drew an arrow there)
How to get $\frac{... |
I am trying to formulate an expression to calculate the critical value of a T-distribution for a given degrees of freedom. I have done so already for the Normal Distribution by considering the TI-84 invNorm function. According to this website: http://tibasicdev.wikidot.com/invnorm, the function can be expressed as such... |
Do you know in which situations is it possible to have a bimodal posterior distribution for some parameters?
I couldn't find any information on the web.
Thanks for your help.
|
How do I measure the correlation between three variable which are not correlated with each other as pairs, but together form a linearly dependent relationship?
ex: I have three dichotomous variables, Red, Green and Blue. On a psychometric test, people are asked to rate themselves on each scale, +1 for one trait, –1 for... |
I am trying to estimate the entropy for two time series, defined by random variables $X$ and $Y$, each distributed according to an unknown PDF which is to be estimated empirically (using a histogram approach, and binning data equally according to Sturge’s rule)
In one dimension, I believe that we can use the estimated... |
I am studying the Crámer Lundberg Risk Process. This process is defined as follows:
$$Y_t=r_0+ct-Z_t$$
Where $Z_t$ is a compound Poisson sum, it means that $Z_t=\displaystyle\sum_{i=0}^{N_t} X_i$, where $N_t$ is a Poisson process, and $X_t$ are i.i.d random variables that follows a distribution $F$.
Then is defined the... |
I'm building a product that has amongst other features a visualization of commodity prices for a set of futures contracts.
The problem I'm having is we're using a pretty naive technique to visualize this time series, we simply take max and min values of the time period considered and add a 20% on top and bottom to trai... |
I am looking at modelling a bivariate distribution with observed data from distributions that look like this:
Variable 1's distribution looks like a gamma distribution and variable 2's distribution is a bimodal distribution that can't be modeled using any of the "standard" distributions. Both my marginal distribution... |
In R, there are three methods to format the input data for a logistic regression using the glm function:
Data can be in a "binary" format for each observation (e.g., y = 0 or 1 for each observation);
Data can be in the "Wilkinson-Rogers" format (e.g., y = cbind(success, failure)) with each row representing one treatme... |
Quick question, in the textbook "Introductory Econometrics", the variance of a Regression Coefficient is given as:
$var(\hat\beta_j) = \frac{\sigma^2}{SST_j(1-R_j^2)}$
where,
$SST_j$= $\sum_{i=1}^n (x_{ij}-\bar x)^2$
$\sigma^2$ is the variance of errors of y against its predicted values
$R_j^2$ is the strength of fit w... |
I am trying to use DLM package in R to estimate a state space repersentation of the term structure model, where observation and state equation are as follows
$y(t )= F* x_t +e_t$
$x_t- \mu = G* (x_{t-1}-\mu) +n_t$
where $e_t$ and $n_t$ are Gaussian. Only modification with standard DLM representation in the R is the... |
How can we prove that Natural Cubic Splines are linear at the end points? We just know that the constraint is the second derivative to be zero at the end pints.
|
I don't think there can be one answer to all the deep learning models. WHich of the deep learning models are parametric and which are non-parametric and why?
|
I have the following joint distribution of$X$ and $Y$,
$f(x,y)=\frac{\exp^{-y^2/2}}{y\sqrt(2\pi)}$
The support of the distribution is $0<|x|<y<\infty$. My question is how we will obtain the individual PDF of $X$. As far as the PDF of $Y$ is concerned, it can be obtained by simply integrating the joint density over $-y$... |
I am using a logistic regression model. I want to see interaction effect of a continuous Independent variable on the relationship of another binary independent variable and the dependent variable(DV is also binary). Should I use the direct product of the continuous and the binary variable or I should first do mean-cent... |
I am trying to find the best predictor for Leaf Area Index (LAI, a plant growth indicator) among several spectral indices (these are calculated from reflectances measured in different spectral wave lengths). I am using exponential model like this: $y=a \exp(b x)$. Two of the spectral indices gave me relatively good res... |
I have data of time budget behaviors in form of relative frequencies (Nr specific behavior/nr of total behavior observed). The best would be to perform a multinomial analysis, but it seems too hard to interpret results for me. So I am going with GLMM (which is not simple but I try to!).
I decided for a binomial distri... |
I am analyzing data using Liner Mixed Effects Model (LMM) with lme4 package in R. After visualizing the prediction slope and observation on a scatter plot, I realized that the estimation for the one of factor (e.g., treatment 3 in the illustration) is far from observation. after checking the data, I found that one of t... |
I have accumulation data and curve for two drugs, one follows linear regression, whereas the other may be described with polynomial model. (See the attached figure.) What is the correct method to compare them (ie. if there is significant difference between the two drug accumulation)?
mydata<-structure(list(Time = 1:1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.