instruction stringlengths 9 38.7k |
|---|
I am ensembling neural networks for my research project. Each network is considered an expert. I am looking for a good algorithm to dynamically weight them, and I am finding all the prior algorithms to be to very mathematically complex. Is there anything wrong with just doing something like this:
Percentage of total ac... |
The Text I am reading has a question that goes like this :
Explain clearly the ideas implied in using arbitrary working origin and scale for the calculation of arithmetic mean and standard deviation of a frequency distribution. The values of the arithmetic mean and standard deviation of the following frequency distribu... |
Example 1:
$X_1,...,X_n$ is a random sample from $\text{Poisson}(\lambda)$
$T=\sum X_i$
$T\sim \text{Poisson}(n\lambda)$
Consider the test: $H_0: \lambda \le \lambda_0$ vs $H_1: \lambda > \lambda_0$
The rejection region is of the form $T>c$
Let $\lambda_0=1$ and use CLT to choose $n$ so that the power function $\beta(\... |
In R, there is a package called mice which multiply imputes a dataset.
For my situation, I imputed using the predictive mean matching (pmm) method using a time series that I acquired that details multiple different climate variables like average temperature, relative humidity, precipitation etc.
At some point I would l... |
I have three I(3) variables and three I(0) variables.
I found that I(3) variables are co-integrated and my dependent variable is one of I(3)s.
When I tried to build a VECM model in Eviews, Eviews will automatically difference all the variables including the stationary ones.
So I am wondering if there is a way I can ru... |
My data consist of 3d Cartesian coordinates. As shown in the figure below, there are roughly linear "clusters" of points within these data. How should I approach grouping these data in an automated way?
My intuition is that if you rotated each cluster to its principal axis, almost all the variance would be in 1 dimensi... |
When discussing AdaBoost, authors in ESL mention that exponential loss minimizer also minimizes binomial deviance. I have trouble deriving this connection. In particular, the book states:
Another loss criterion with the same population minimizer is the binomial negative log-likelihood or deviance (also known as cross-... |
MLP and its variants can be used to build a reconstruction model such as conventional autoencoders including many variants and GAN, for example.
I wonder if SOM can be a candidate to replace the role of multi-layer perceptrons in this manner.
The wiki page says 'The goal of learning in the self-organizing map is to ca... |
According to theory, R(1), the lag-1 autocorrelation of the residuals from a model fit to a time series of length n, lies in the interval
( z(0.025)/SQRT(n), z(0.975)/SQRT(n) )
95% of the time when the residuals are uncorrelated and identically Normally distributed. What is the corresponding interval when the residuals... |
I evaporate atoms in a vacuum chamber and use a quartz crystal microbalance to measure the deposition rate. Specifically, I measure the resonance frequency of the quartz crystal and use that to calculate the total mass that has been deposited on its surface. I am interested in relatively low rates, so I measure the fre... |
The time series data, as shown in image 1, has 3 separate steps connected by increasing data. How do I detect these steps?
An easier set of data with one step could be created in R as follows:
x <- seq(1,220)
y <- c(seq(1,100),rep(100, times = 20),seq(101,200))
plot(x,y)
The output is shown in image 2. How would I det... |
I have a dataset with three variables, where all variables are quantitatives. Let call it $y$, $x_1$ and $x_2$. I'm fitting a regression model in a Bayesian perspective via MCMC with rjags
I done a exploratory analysis and the scatterplot of $y\times x_2$ suggest that a quadratic term should be used. Then I fitted two ... |
I am conducting a project where I have to conduct regression on a data set with rather large amount of variables and am in need of some help.
To give some context, we are looking at whether certain prognostic variables make individuals more likely to undergo surgical or non-surgical treatment. There are a variety of v... |
I'm still new to machine learning and just came across powerful deep learning library, Keras.
I've read Keras document and tried few Keras examples on Github here. I've also studied some basic knowledge and concepts of deep learning from several sources but still haven't really had solid understanding in CNN and RNN wh... |
I conducted a study in which participants were to do one of three treatment options and then write a test. The intention was to separate the participants based on the option they selected and using a one-way ANOVA, analyze whether these groups were statistically different from one another by comparing test grades.
The ... |
What are the methods to compare proportions from 2 independent populations
i know we can use the z-test or t test for comparing 2 proportions
what about Miettinens & Nurimens Liklihood Score test, Farmington & Mannings Liklihood score test, etc. Ive heard of them but not been able to understand them completely and mos... |
I'm currently writing a paper. Without getting into too many details, in one section I talk about the distribution of a certain observable of a Markov Process:
The tail of each distribution is fit well by a single exponential distribution, but...
What I want to be able to say is that the rest of the distribution is n... |
Suppose I have about 1.6 million public filings to the FCC supporting or opposing net neutrality. It would be interesting to assign labels like 'pro' or 'against' and also maybe 'hand-written', 'form-letter', 'bot'. I'm willing to hand label a bunch.
Example:
I support Net Neutrality. I do not support the "Restoring I... |
How do I determine, pre-experiment, the minimum size of a control group that would be needed to satisfy the requirements of a two-proportion z-test?
$p_i=\frac{k_i}{n_i}$ is the proportion of successes, $k_i$, in group $i$ which is of size $n_i$. This will only be known post-experiment.
The size of the test group, $n_... |
Lots of articles and threads are saying that
'a rule of thumb' for $k$ of $k$-NN is $k=\sqrt{n}$, where $n$ is the number of samples.
I'd like to see which paper or related material first mentioned it.
|
Consider a hypothetical situation,
due to a new teaching method being implemented, I want to test whether there is a significant difference in the proportion of students that have passed a particular exam between two batches.
I could use the 2 proportion z test.
Are there any other tests I could use to compare two di... |
I sometimes attend a large dance teaching event.
At this event, students are allocated into groups with other students of roughly the same level through 2 reviews - first a "peer review" that sorts students into roughly the correct levels, then a teacher confirmation review where the teachers assess the groups as a who... |
I have price data for similar products in different stores like below
productId StoreA StoreB StoreC StoreD
00001 14 10 14 15
00002 35 34 36 40
00003 100 94 90 94
00004 14 14 25 14
00005 11 15 13 10
StoreA is m... |
I was wondering which test I should use to compare two proportions in one sample?
My research is about white matter hyperintensities (WMH) in migraine compared to tension-type headache. There are three options: only deep WMH (63,6%), only periventricular WHM (6,1%) or both (30,3%). I want to know if there are more 'onl... |
I am conducting a age-period-cohort analysis using repeated cross-sectional survey data and a multilevel model approach in Stata, where cohort (birth year) and period (survey year) are modeled as cross-classified random effects. As such, all my data is taken from the same data source (27 waves of the General Social Sur... |
I have two non-parametric rank correlations matrices emp and sim (for example, based on Spearman's $\rho$ rank correlation coefficient):
library(fungible)
emp <- matrix(c(
1.0000000, 0.7771328, 0.6800540, 0.2741636,
0.7771328, 1.0000000, 0.5818167, 0.2933432,
0.6800540, 0.5818167, 1.0000000, 0.3432396,
0.2741636, 0.29... |
I'm interested in likelihood $L(\theta | x) = P( x | \theta)$ seen as the function of $\theta$ for a given $x$.
I have been reading in books and other posts that $L$ is generally not a probability function (with respect to $\theta$) because it may not integrate to 1 and, moreover, there my be even no $\sigma$-field de... |
I understand that there are flavors of (convolutional) neural networks that are useful for object localization and detection tasks of reasonable difficulty. In all of the examples I have seen so far, localization is formulated as finding the corners of a bounding box. Often, the fit is not required to be very precise:
... |
I have a set of distributions and I have combined (programmatically, not mathematically) them with weights, for example:
Dist1, Dist2, Dist3, Dist4
p=.25, p=.20, p=.20, p=.35
Unless I am mistaken, the overall mean of this combination can be determined as:
mean(dist1) * 0.25 + mean(dist2) * .20 + mean(dist3) * .20 + mea... |
Log marginal likelihood for Gaussian Process as per Rasmussen's Gaussian Processes for Machine Learning equation 2.30 is:
$$\log p(y|X) = -\frac{1}{2}y^T(K+\sigma^2_n I)^{-1}y - \frac{1}{2}\log|K+\sigma^2_n I|-\frac{n}{2}\log2\pi$$
Where as Matlab's documentation on Gaussian Process formulates the relation as
$$\log p... |
I can't understand the meaning of this writing: AR(||1,3||). I don't know the meaning of the "||".
Edit: I've found also this notation: ARMA(1, ||1,4||). Maybe could be useful.
|
Suppose $X_1, \cdots ,X_n$ are independent and identically distributed random variables with
probability density function
$$f(x|θ) = θ\, \exp(−θx),\quad \text{ for } x ≥ 0\,.$$
Each variable is censored if it exceeds $C$, a known constant.
Then we have: then
$$Pr(X > C) = \exp(−θC)\,.$$
Do anybody know why $$Pr(X > C) ... |
I have a 2 x 2 x 2 design, and I only want to analyse main effects and two-way interactions, not the three-way interaction.
Using SPSS MIXED, should I still define the three-way interaction and just ignore its output, or leave it out of the model entirely?
|
I am new to data science, and I would like to know whether I can use n-1 categorical variables instead of the original n, without risking to lose information.
At example: I have three categorical variables A,B,C, and I write C in function of A and B, therefore I have reduced the number of variables from 3 to 2. Can I a... |
I'm completely new to machine learning and wish to implement it into my app to help my users travel between places. Let's say I have data (constantly updating data) that looks like this:
user|from_id|to_id|timestamp
1234|4365|23075|xxx
Where from_id and to_id is the start/stop place's ID. Based on this I would want to... |
I have a question regarding the interpretation of the component GARCH model, and hypotheses related to its possible improvement over the simple GARCH model. I'm doing some time series analysis and a GARCH(1,1) model on the data produces $\alpha$ and $\beta$ coefficients that add to 0.92 ($\alpha$ of 0.15 and $\beta$ of... |
I have a basic understanding of generative models, like Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs).
It seems that they are mostly used to in the field of image processing/computer vision as in https://blog.openai.com/generative-models/
But somehow after a very long quest in searching for... |
I am working on a research question where I am hoping to find a significant difference at multiple frequencies.
I am comparing two age matched groups (n= 217). I am trying to find the correct test to see if there is a significant difference in their mean thresholds at 10 different adjacent frequencies. There is data fo... |
I am interested in finding out whether there is any correlation between the behavior (1 variable) of individuals that are segregated in several groups of 3 or 5. This would be akin to a 3-way or 5-way correlation, I guess.
Is there a standard way to calculate such type of association?
|
I am attempting to build a convolution neural network that will learn to classify images that contain up to three digits. I am currently building my training labels with the following format:
For each image, have 30 classes (0-9 for each potential digit)
Say for example the digits in the image is: 123
The label would b... |
Does anyone know how to write the command in R to compute state space model of an ARIMA(2,0,2)?
|
I am trying to estimate Beta regression model with Matlab based on Ferrari & Cribari-Neto (2004) paper (see https://www.jstatsoft.org/article/view/v034i02/v34i02.pdf).
I have encountered a severe issue with the computation of the standard errors (SE) for maximum likelihood estimates (MLE).
In my data set I have 7 propo... |
Let $X_1$ be a random variable and let $\text{VaR}_p(X_1)$ denote the quantile of $X_1$ such that
$$
P(X_1>\text{VaR}_p(X_1))=1-p.
$$
Now, let $X_2$ be another random variable with $\text{VaR}_p(X_2)$ such that
$$
P(X_2>\text{VaR}_p(X_2))=1-p.
$$
Let $Y$ be yet another random variable. Now let $\widetilde{\text{VaR}... |
If we have a set of samples $x_1 ,\dots, x_N$ and we denote with $\bar x = \frac{1}{N} \sum_i x_i$ their average, then the sample variance is defined as
$s^2=\frac{1}{N-1} \sum(x_i - \bar x)^2$
(see [1], for example).
I have found that someone says that the sample estimate of the variance is $s^2=\frac{1}{N^2}\sum_i \... |
I have 23 participants who completed 8x3 minutes training periods in each session. Participants completed 12 such sessions. Thus far, I have been averaging the results of these 8x3 training periods in each session and then comparing the averages across the 12 sessions using a mixed ANOVA (there were two different types... |
In stata, robust regression (rreg) uses weights proportional to the size of the residuals. Is this conceptually the same as weighted OLS (weight by 1/variance)? And both can be applied, for example, in scenarios with heteroskedasticity?
|
In Kaiming He's resnet presentation on slide 40 he says, "lower time complexity than VGG-16/19." Why is this the case, when resnet is much deeper?
|
Write down joint probability density function $f_{XY}(x,y)$ of two RVs $X$ and $Y$ given $X = Z_2 - Z_3$ and $Y = Z_1 - Z_2 + Z_3$ where $Z_1$, $Z_2$ and $Z_3$ are independent normal random variables each having mean $0$ and variance $1$.
I tried using change of variable formula but couldn't find determinant because it... |
I faintly remember in class discussing that interaction effects, seen from LASSO and Ridge coefficient vs alpha plots, means that the predictors of some data set have non-linear interaction effects. Is this true?
For example, in my class project I know the data set I am working with has highly non-linear interactions b... |
I'm reading a paper by Andrew Gelman. On page 3, it says,
Let θ be the true (population) difference in sex ratios
of attractive and less attractive parents. Then the data under
discussion (with a two-sided P value of 0.2), combined with a
uniform prior on θ, yield a 90% posterior probability that θ is
positive... |
Suppose we have a regression scenario with a function: $g: X\rightarrow Y$, where $X$ is the covariate space and $Y$ is the response (output) space. For instance, $g$ can be a conditional probability model,${g(Y|\boldsymbol{x})}$, describing a stochastic process generating $Y$ as function of covariate vector, $\boldsym... |
On a reasonably sized data file, I do a random split and get the validation and test sets (80/20 let's say). I perform a (repeated) k-fold CV on the validation portion of the data and adjust all the parameters needed and finally come up with my best model. Then I try this model on the test set (20%) I never used before... |
Wikipedia states:
Ordinary linear regression predicts the expected value of a given unknown quantity (the response variable, a random variable) as a
linear combination of a set of observed values (predictors). This
implies that a constant change in a predictor leads to a constant
change in the response variable ... |
My 106 respondents answered questionnaires at the start of the study to assess trait and after this they participated in an Experience Sampling Method research design. In this design, participants answered 10 times a day for 7 days questions about their emotions. After the study, the data is stacked. So, for example po... |
I am attempting to create a neural network model using R that estimates the sine function for a given x variable, i.e. sin(x). Dataset has 5000 observations with x iterating by 0.05 each time:
However, when I estimate using the model, my error is quite high at 219.2 and my prediction remains fairly constant at a value... |
I'm trying to analize a chemical experiment with four factors or independent variables. Initially each factor had three levels, so i proposed a $3^4$ factorial design; the problem was that all the treatments couldn't be measured, so i proposed a $3^{(4-1)}$ fractional factorial design, so i had $3^3 = 27$ treatments.
L... |
Say I have a time series $y_t = \frac{1}{n} \sum_{i=1}^n x_t^{(i)}$. For example, $y_t$ can be the returns of the S&P 500 index at time $t$ and the $x^{(i)}_t$ is return of the $i^{th}$ company in the S&P 500 at time $t$ (notice this means $n = 500$). Now suppose instead of imposing a simple autoregressive structure on... |
For regression models we have the AIC to use as a quality metric. It has a high score for models that use fewer exogenous variables compared to models with many exogenous variables (holding the variance explained constant).
Decision trees also can suffer from the same plight, being too complicated, perhaps because of o... |
I'm trying to write a program that would help me make wiser decisions for stock trading.
I've built my logic, which is made of two sub-logics.
The first is a general logic - Targeting the stock data (mostly pattern analysis). The second is personal behavior logic - Targeting the personal playing behavior (how risky to ... |
I'm estimating the following panel data model (years $t$, regions $i$) in Stata:
$$\%Δy_{ti} = \beta_0 + \beta_1 \%Δx_{ti} + \beta_2 \%Δcontrols_{ti} \dots + e_{ti}$$
As far as I know, this is a first-difference model with the only distinction being that I use % change ($\%Δ$) instead of absolute change ($Δ$). There a... |
How do I validate a ridge regression model? Presently I am using both the mean absolute error and the $R^2$ score from python's sci-kit learn, and am plotting the prediction against the actual result.
Is this enough? I am having a bit of a tough time finding information which is written in layman's terms.
|
I can't quite wrap my head around something that should be relatively fundamental. I'm familiar with ROC curves and AUC, but what I'm confused about is using accuracy for logistic regression. My understanding is that a logistic regression model outputs probabilities, and then those probabilities can be classified as on... |
We know that there are two different implementations of Word2Vec: CBOW and skip-gram. The following figure shows these implementations:
My question is about the skip-gram model. We expect that the training samples in the skip-gram model be like $input = w_i$ and $target = (w_{i-k},\ldots,w_{i-1},w_{i+1},\ldots,w_{i+k}... |
I did a simple linear regression of predicted values (by my model) vs. measured values and made confidence interval boundaries (95% confidence) of the fit using matlab functions. I know that a 95% confidence interval means that there is a 95% probability that the true best-fit line for the population lies within the c... |
I have two time series (length N) and I did a t-test to look at the difference between the two time series time point by time point. So I get N p-values from this. Obviously I need to correct for multiple comparisons but I'm wondering what's the best way to do it.
I think most people use FDR, but I wonder if that's too... |
I wonder what cause the correlation between parameter estimates in regression analysis?
Does misspecifacation of model cause such a correlation? Or does multicollinearity cause such a correlation?
In the existence of such correlations between parameter estimates, do we need to search the reason and study on the model ... |
If I am working with a regression model of the form
$$ Y = X \beta + \epsilon,$$
where $X \in \mathbb{R}^{n \times p}$ and $\epsilon \sim N_n(0, I_n \sigma^2)$ and I know that in the population, $R^2 = q$, how do I estimate $\sigma^2$ if all I have are $X \beta$ -- the error-less response variables?
|
in order to avoid losing my backgammon match, I had to avoid rolling a one on both of two successive rolls with two dice on each roll. If I rolled a one once or double ones I was ok, I just couldnt roll 1-x then 1-x on two successive rolls. What were my odds of avoiding rolling a one twice in a row?
|
I am enrolled in Civil Engineering. I need to understand stochastic processes for completion of my project. I have just completed first 9 chapters from the book "Probability, random variables and stochastic processes" authored by Papoulis.
Basically, I understand random processes and distribution theory as an engineer ... |
Here is that I want to achieve: the input is a soccer image frame
Then, I want my model to return a 2D model has following information:
Where player's position in the field are given; and the player's relative distance are well preserved as well.
Here is my plan to achieve this:
First, player detection using some sta... |
The standard definition of stochastic volatility model is:
$dS_t = \mu S_tdt + \sqrt{v_t}S_tdW_t$
$dv_t = \alpha_{v,t}dt + \beta_{v,t}dB_t$
$\langle d W_t, d B_t \rangle = \rho$
(From wikipedia: https://en.wikipedia.org/wiki/Stochastic_volatility)
However, in Kim's paper (http://finance.martinsewell.com/stylized-facts... |
I have data of few children, about 30. They are ridden with some disease. I know age of 30 children. I know since how many years the children have the disease (disease age) for 28 children. How do I impute the disease age of the two children. When I tried I am getting the disease age greater than actual age of the... |
In the case of supervised classification, we wish to predict the label of unseen observation $x\in\mathcal{X}$ by assigning it to some label $y \in \mathcal{Y}$. Specifically, we want to find label $y^*$ as follows:
$$\begin{split}
y^* &= \underset{y\in\mathcal{Y}}{\text{arg max}\;} \Pr(Y=y|X=x)\\
&= \underset{y\in\mat... |
I'm an applied researcher and had a conceptual question about the simple linear regression population.
Background
From some books, I know in simple linear regression population, we assume to have a "subpopulation" for each value of the predictor (see picture below). Each of these subpopulations, is assumed to be a Norm... |
I have been given a task to solve using a neural network and I think that using a neural network is the wrong algorithm to use.
The idea is simple: given at most 3 diagnoses, predict which medication(s) a health professional will prescribe.
The main issue is that each diagnosis can have many valid medications prescri... |
I can imagine that by setting a learning rate per layer (in the gradient descent update rule) it would be possible to manage the vanishing gradient problem better than when using a single learning rate. Are there any specific techniques dealing with this? I've had a look on google scholar but couldn't find any particul... |
I am trying to extract the dependence structure connecting some Categorical (CV), Ordinal (OV) and Interval (IV) variables (definitions). Basically, I am trying to build the structure into a copula, such that I can apply various marginals (mostly obtained from KDE), and create correlated samples. Here is my homework so... |
In a case-control study including men and women of various ages, I wish to investigate if there is a difference in a measured variable (X) between cases and controls. The data are stored in a dataframe/tibble d as such:
# A tibble: 1,103 × 4
CaCo Gender Age X
<fctr> <fctr> <dbl> <dbl>
1 Case Wom... |
In my data I have problems with heteroscedasticity as indicated by the Breusch-Pagan test and the NVC test that are both significant.
Therefore, I would like to follow the method posted by Gavin Simpson here: https://stackoverflow.com/questions/4385436/regression-with-heteroskedasticity-corrected-standard-errors
I used... |
I have done a linear regression of predicted measurements (of my model) vs. observed measurements and plotted the confidence band. Can I draw any conclusions about the points that lie outside the band?
If I am interpreting confidence bands correctly, if a point does not lie within the confidence band it means that ther... |
What's the difference between a logistic regression and an ordinal regression using cumulative logits?
|
log marginal likelihood for Gaussian Process as given by Rasmussen's: Gaussian Processes for Machine Learning equation 5.8 is
$$\log p(y|X, \theta) = -\frac{1}{2}y^{T} K_y^{-1}y - \frac{1}{2}\log|K_y|-\frac{n}{2}\log2\pi$$
where $K_y = K_f + \sigma^2I$ is the covariance matrix for the noisy targets $y$ (and $K_f$ is ... |
Given a data set as follows:
$$\begin{array}{crrrrrrrr}
Classes: & Less\:than\:20 & 20-30 & 30-40 & 40-50 & 50-60 \\
frequency: & 30 & 20 & 15 & 10 & 5
\end{array}$$
The objective is to find a suitable measure of dispersion.
The first thing I thought of was the variance, but can we find out the mid point of a cl... |
We are given a random sample of size $n$ and let the corresponding order statistics are as follows: $$Y_1 \leq Y_2 \leq Y_3.......Y_{n-1}\leq Y_n$$
The distribution of the sample median for $n$ even is required, so if $n=2k$ the sample median is given as : $\dfrac{Y_k + Y_{k+1}}{2}$
Also, the joint distribution of $Y_k... |
I am looking for a function in R which can handle Crossed Random Effects as well as Splines for my Fixed Effects and for the Random Effects. I tried the function gam from mgcv and just specified two different random intercepts. But I am not sure whether the function is really treating my effects as crossed in the backg... |
In the wikipedia page about curve fitting:
https://en.wikipedia.org/wiki/Curve_fitting
The graphic on the right shows:
"Fitting of a noisy curve by an asymmetrical peak model, with an iterative process (Gauss–Newton algorithm with variable damping factor α)."
I would like to do this and I know how the algorithm works, ... |
The bias of an estimator $\hat{\theta}$ is defined as $Bias = E[\hat{\theta}]-\theta$. I want to standardize this value to compare the bias of different parameters. Can I report the following quantity instead?
$$\dfrac{E[\hat{\theta}]-\theta}{\theta}.$$
Does this quantity has another name than relative bias?
|
I would like to know if it is possible to use items with different scales to compute a single variable. For example for the variable "authonomy" I would like to include 4 items for the variable computation.
Three questions are with yes/no answer, e.g., "Are you able to choose your methods of work?", and one question is... |
I have values which approximate the output of pdf(x) for a distribution over a range of x. I would like to determine the parameters of the two-parameter Weibull distribution which best fits these values.
I know how to use the MLE or the graphical method to fit a Weibull distribution to actual values, and I know how to ... |
I implemented dropout on my neural networks. I tried to train the neural network to act as the f(x) = sin(x) function. During normal backpropagation without dropout regularization, it literally needed less than 10 iterations to reach an extremely small error.
However, when I activated dropout, it got stuck at a reason... |
This must be a standard problem, but I can't find an answer.
I'm assuming that particle weights follow a Normal frequency distribution, that is the number of particles with weight < x is given by N(x), which is a CDF, the integral of the pdf n(x).
I want the weight of particles with weight < x. I think this CDF will ... |
If I have a design matrix $X\in\mathcal{R}^{n\times d}$, where $n$ is the number of observations of dimension $d$, what is the complexity of solving for $\hat{\beta}=\text{argmin}_{\beta}\frac{1}{2n} ||X\beta-y||^{2} + \lambda||\beta||_{1}$ with LASSO, wrt $n$ and $d$? I think the answer should refer to how one LASSO i... |
I wonder if it is possible to rewrite the lognormal density function, $$f(x)=\frac 1 {x\sigma\sqrt{2\pi}}\exp\bigg(-\frac{(\log x-\mu)^2}{2\sigma^2}\bigg)$$ so that the mean value, $\exp(\mu+\frac{ \sigma^2}2)$ is part of the expression? I want this since I'm testing the hypothesis $$H_0: \exp\bigg(\mu+\frac{ \sigma^2}... |
I have a dataset in which the target variable has three classes. The approx distribution is as follows:
"-1" - 4%
"0" - 90%
"1" - 6%
I did not find any package in R which can run smote for multilabel classification( Please tell me if there is). So i compromised and did the following
Forget about class "-1", apply... |
Parametric bootstraps are considered the gold standard to compute confidence intervals for linear mixed effects models. I think they also allow for easy re-transformation of model predictions to the original scale if the transformation was needed to meet the model assumptions.
Unfortunately, I have several doubts abou... |
Is there a way to check that the proportional hazards assumption is correct for a Cox model with time-varying covariates ?
|
I have several time series of annual data from which I'd like to calculate a yearly mean (arithmetic or robust).
Am I correct to assume that each of these time series has to fulfill the conditions of having the same mean and being homoskedastic (i.e. stationarity)?
Is it also important to prewhiten the individual seri... |
I consider data {$y_{ij}$} which is a rectangular table of counts, and that follows a Poisson distribution, $y_{ij}\sim Poi(\mu_{ij})$. The mean value, $\mu_{ij}$ depends on a variable $x_{ij}$, which for each pair $(i,j)$ is known. As a model I have the following: $$\mu_{ij}=\alpha_i\beta_jx_{ij}^\gamma,$$ and I want ... |
I am trying to train a Deep Q Network (https://deepmind.com/research/dqn/) for a simple control task. The agent starts in the middle of a 1-dimensional line, at state 0.5. On each step, the agent can move left, move right, or stay put. The agent then receives a reward proportional to the absolute distance from its star... |
I am looking at a relationship between Population and a measure of Accessibility. I have found an inverted-u type relationship:
Unfortunately, the relationship would predict negative population in areas with very high Accessibility. This intuitively makes no sense so I wish for the model to have an asymptote at zero. ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.