instruction stringlengths 9 38.7k |
|---|
In sklearn's GPR function, how can I automatically determine the nugget parameter? It does not seem to be implemented within the package. Any insights are welcome.
|
Assume $X$ is discrete random variable.
It has some distribution on integers $0,1,...,m$
Then is $P(X>k | X=m) \ge P(X>k)$ true? If it is, how to prove it in a rigorous way?
For me, it is tempting to think that it is true because given $X$ taking the maximum value, the probability of $X>k$ should be higher.
But I can't... |
If there is a
0.3% chance of living through 2017,
0.2% chance of living through 2018,
0.15% chance of living through 2019,
0.05% chance of living through 2020, and
0% chance of living through 2021.
Is the Probability of being dead in 2019 equal to:
0.3*0.2*0.85
= 0.051
Is the probabilty of being dead in 2021 ... |
Recently I read an paper where in a time series data has been modelled according to the equation
$$
Y_t=\beta_1 Y_{t−1}+\beta_2X+\varepsilon.
$$
OLS was used here (with the lm() command in R) for obtaining the coefficient of $Y_{t-1}$. Is it statistically correct?
I understand when we deal with time series data, th... |
I ran a Cox-Regression on Prepayment analysis. Right now, I'm using a stratified Cox-Regression with time dependent variables. The focus of my work lays NOT on prediction but rather on differentiating among risk groups.
The problem is that my p-values are extreme low, while my (pseudo) R-square is extremely low, aroun... |
Can anyone help explain a bit more on the diagrams in the Jack’s Car Rental example of Richard Sutton's book "Reinforcement Learning: An Introduction"? The image is like this:
I don't understand what is the meaning of all the stepwise curves and 1-2-3-4 stands for per each policy $\pi_{i}$
The detailed description of ... |
Suppose we have that $n << p$ and that we have a linear regression model where the predictors outnumber the observations. In this case, usually in statistical software packages, the standard errors and hence the confidence intervals show as NaN. The formal standard error formula is given by:
$$
s_{\hat\beta_j}=\sqrt{\f... |
My goal is to get the best hyperparameters for the classifiers I used in Stacking/Majority Voting.
This is the steps that I did (with very small Titanic dataset):
I use GridSearchCV to tune each classifiers (logreg, Random Forest, XGB, etc)
I use the best performing classifier, with the best hyperparameters from step ... |
I've asked my participants to enter their "willingness to accept" in dollars. Now I am wondering whether this variable should be treated as an ordinal variable or categorial variable? Unfortunately there are contradictory statements in the papers.
Thank you so much!
|
I have read that the following formula is used to estimate the cumulative baseline hazard function:
I also know that the basehaz command in R will also calculate an estimate for the cumulative baseline hazard.
When i build a 1 variable coxPH model in R using the BRESLOW method for ties, the output from the basehaz com... |
I have 11 years of membership data for a denomination of churches and I want to find the top 20 growth rate "trend breakers".
In my current method I have:
calculated % change from the previous year for all churches
calculated 3yr, 5yr and 10yr averages
determined the overall mean for each of these
filtered out below a... |
Given $n$ points ${\boldsymbol{x_1},...,\boldsymbol{x_n}}$ and a nonlinear feature map $\Phi$, the kernel k-means problem is formulated as follows,
$\underset{\boldsymbol{t}, \; \boldsymbol{\mu}_k \; k = 1,...,K}{\text{minimize}} \; \sum_{i=1}^{n} \sum_{k=1}^{K} t_{ik} \| \Phi(\boldsymbol{x_i}) \; - \; \boldsymbol{\mu}... |
I heard that the activation could be thought of as a unnormalized angle between input and nodes.
How is this true?
My idea is that:
We have an input vector $\vec{x}$ per feature (?). This then gets multiplied with a dot product to a weight vector connecting the input to the neuron $\vec{w}$ and thus we have $\vec{x} \c... |
In RCTs, randomisation balances unmeasured confounders and, I'm told, ATE and ATT would be the same. In observational studies, this is not possible and Propensity Scores are used in various ways to estimate ATT and/or ATE. The analyses that I've performed and examples that I've seen (eg this helpful text) shows differe... |
I have a questions measured through Likert scale (1-5)
Independent variables:
I believe xx is a problem strongly disagree(1) disag neutral agree s-agree(5)
I believe yy is a problem strongly disagree(1) disag neutral agree s-agree(5)
Dependent variable
xyz (1,2,3) ---not a binary
I am plannin... |
In a paper that I was reading Bayesian stats, they are talking about a "tight" prior.
We control the “tightness” of the Minnesota prior by adjusting the
values of parameter $b1$. A tight version of the Minnesota prior is de
ned by $b1 = 0.2^2$, and a loose version sets $b1 = 0.9^2$.
Is a tight prior the same thi... |
I'm trying to fit some data (435 data points) to this equation:
$$ \frac{1}{q^2}\sum_{k,l}^3\rho_k\rho_l\exp(-q^2(\sigma_k^2+\sigma_l^2)/2)\cos[q(d_k-d_l)] +bkg$$
where $q$ is the indipendent variable and everything else is a free parameter (with soft costraints in a range) for a total of 9 parameters.
I perform the fi... |
I am trying to cluster the data shown below. The clusters are clearly separable. I've tried k-means and EM clustering (Gaussian mixture), however, both techniques divide the large main cluster into one or more sub-clusters. The main issue is that the clusters have very different numbers of points and overall size. I ex... |
$\DeclareMathOperator*{\argmin}{arg\,min}
\newcommand{\E}{\text{E}}$
This is from the Analytics Iowa LLC notes provided at http://www.public.iastate.edu/~vardeman/stat602/StatLearningNotesII.pdf, p. 16. To start, some notation and assumptions:
$$\mathbf{X} = \begin{bmatrix}
\mathbf{x}^{T}_1 \\
\mathbf{x}^{T}_2 \\
\vdot... |
For a project where I'm compiling scientific data, I'm using a criteria that we exclude any replicate data point that is greater than two standard deviations from the mean. All of the data has triplicate measurements, so each sample size is 3, and I noticed that none of the data has been excluded so far.I tested a wide... |
Let $d$ a positive integer How to generate a sample of $n$ random variables with a multivariate uniform distribution on the cube $[a,b]^d$ in R?
I don't know what to do. I know that I need a covariance matrix for the random vectors that I will generate...
|
In prioritized replay buffers we sample uniformly from k segments of the cumulative density function formed from a scaled version of the priority function below:
Priority(i) = sum(rank_i^alpha) / (rank_i^alpha)
rank_i is the rank of transition i in the priority buffer and alpha says how much prioritization to use.
The... |
What impact does mini-batch size have on Adam Optimizer? Is there a recommended mini-batch size when training a (covolutional) neural network with Adam Optimizer?
From what I understood (I might be wrong), for small mini-batch sizes the results tend to be noisy, but the results are also innacurrate for big batches (let... |
I am trying to run a regression on non-numeric survey data. The question being, does flour type or mixing type lead to a better cake review? Dummy Data is attached and factors are explained below
Flour Type
White Flour,
Whole Wheat Flour,
Gluten-Free Flour
Mixing Type
Kitchen-Aid,
Hand Mixed,
Commercial Mixer
Cake Rev... |
I'm using a coordinate search to find an optima in a noisy search space. I'm wondering whether there's a notion of regularization in optimization to help mitigate avoid the noise? Regularization seems to be a topic exclusive to machine learning.
Thanks for any pointers!
|
I am trying to understand how to compute a crude Monte Carlo estimator for an $\alpha-$quantile. I have read the algorithm from the book
Monte Carlo Methods and Models in Finance and Insurance, (Korn, Korn and Kroisandt, 2010, CRC Press)
I don´t understand how can I implement this algorithm in R with an simple example... |
I am a newbie when it comes to R and I do not have a strong math background. That being said, my goal is to automate forecasting time series. I went to Google and found several good articles about forecasting by hand.
ARIMA article
R Time Series
The information in my time series is collected every 15 minutes. There... |
After reading about What is the best way to identify outliers in multivariate data? I noticed that some heuristics are hard to adapt to mult-variate analysis. I'm hoping there is a way to at least have a leverage vs residual plot. I have included an assortment of residual analysis plots to show what I mean.
The first ... |
I am a graduate student and quite new to the concept of linear mixed effects analysis. I have a longitudinal data with repeated measurements, which was collected every three years for more than 20 years. Apart from my (continuous) outcome variable, I have variables that I wanted to look at to estimate their effect on t... |
If $P(A \mid E) > P(B \mid E)$ and $P(A \mid \neg E) > P(B \mid \neg E)$,
then is $P(A) > P(B)$ true? If it is, how to prove it?
Intuitively, I'm thinking it should be true, but I don't know how to prove it.
|
My gut tells me tried-and-true approaches like k-means and Latent Dirichlet Allocation may no longer be state-of-the-art approaches for unsupervised learning with text data, what with models like doc2vec and word2vec emerging lately.
What do you think is the "best" unsupervised learning approach for theme-finding in te... |
While working with a data on sp500 I have encountered one problem concerning the interpretation of ac and pac graphs. The problem is that none of them shows a significant lag outside of confidence band. I do not know how to choose p and q in this case in order to build my ARIMA model. Any help would be highly appreciat... |
I am interested in finding an upper bound for
$\mathbb{E}\big(
\int_B
\frac{f(X| \theta)}{f(X| \theta_0)} \pi(\theta) d \theta\big)$,
the $\frac{f(X| \theta)}{f(X| \theta_0)}$ is the likelihood ratio.
$\pi(\theta)$ is the prior for $\theta$ and $\theta \in B$.
Let $\Pi(\theta)$ be the CDF of $\pi(\theta)$.
Is it tr... |
Say I need to create $200$ objects. I need to use $3$ processes to build a single object, let's call these processes $A,B,C$. Each of these processes can be executed in two ways. So process $A$ can be executed either by using method $a_1$ or $a_2$. Process $B$ can be executed using either method $b_1$ or $b_2$. And pro... |
Using unbalanced panel-data (Unbalanced Panel: n=54, T=81-307, N=11138), I estimated both FE and FD models. My understanding that they are analogous for T>2 and if they produce different results, then it usually indicates a violation of the strict exogeneity assumption and therefore the FD is more consistent as it uses... |
I understand that, for example, maximizing the log-likelihood is equivalent to minimizing the negative log-likelihood. It is indeed a simple change, but still an extra step taken (it seems) for the unique purpose of designing a loss function that will be minimized instead of maximized.
I wonder why this has become the ... |
As part of my Master Thesis, I'm designing a relatively simple Biomes Distribution Model. The aim of the model is to predict biomes (macro vegetation types) spatial distribution on Earth, using some (mainly climatic) data as input.
I have 24 different variables I can use as input for the model. First I ran principal co... |
Working with datasets that have millions of examples and thousands of available features, it's my experience that gradient boosted trees have a plateau in validation performance, after which overfitting happens. However, it's common to see small gains in validation performance long after the overfitting starts (talkin... |
I am struggling with a non-linear minimization, and I wonder if anyone could advise / point me to some literature, please.
In short: I have some pharmacokinetic data (plasma concentration vs time points, $C(t)$, following oral administration of a discovery molecule); models are known in the literature, which predict th... |
I have a medical data set that has all the following cases:
Right-censored
Left-censored
Interval-censored
Delayed-censored and
truncated-data.
I am trying to fit this data with CoxPH function in survival package in R. So my question, is there any consideration I have to take when I feed the data to Cox model, or ju... |
I have gene expression measured for the same set of genes in 2 different conditions, but not all genes are measurable (NaN sometimes). This arises because I have the log-fold difference of expression relative to wild type, and clearly, log of zero is not defined.
Hence, the number of genes in the 2 conditions differs ... |
There are good articles that I have read so far to understand power analysis. But I was not able to find good example to calculate power for multiple condition (factorial design) situation.
Lets assume we have 2 by 2 experiment design and we randomly assign users into to each group/condition and each condition test so... |
I'm trying to use a decision tree algorithm to learn how general ledger transactions (10 digit code) are classified into revenue, expense, G&A et cetera without actually scripting every combination. There are general rules in our accounting software, and each digit of the 10-digit code has a specific meaning.
There are... |
Keep in mind that I do not recommend univariate mixture models for pharmacokinetic usage, except as a default comparison to rather better models, e.g., see this, i.e., convolution models. I am attempting to ask if such univariate models can be improved upon by some other procedure that somehow incorporates covariance, ... |
I have a set of data that is essentially bowls with marbles in them. Each bowl can contain anywhere from 3 to hundreds of thousands of marbles. Many more bowls contain small numbers of marbles than large numbers of marbles--if you arrange the bowls from fewest marbles to most marbles, when you reach the 99th percentile... |
I was wondering how the gam library calculates the AIC. I can't find a reference that explains how this package calculates it.
library("gam")
data(airquality)
model <- gam(Ozone^(1/3) ~ lo(Solar.R) + lo(Wind, Temp),
data=airquality, na=na.gam.replace)
model$aic
|
I am trying to test to see if there is a "universal" trend in homicide across multiple nations.
First, I utilized squared semi-partial correlation coefficient by estimating two models (1) a model fitting nation and time dummy variables and (2) a model fitting just the nation dummy variable. Subtracting the R^2's fro... |
I am using SAS for linear regression with two independent categorical variables. When I run models with each categorical variable separately, I get estimates for every level of both variables. This makes sense since I have no intercept to act as the reference. However, when I put both categorical variables in the same... |
Below, I have a simple diagram explaining the matrix dimension of word2vec.
My goal is to expand this graph to incorporate document vectors for doc2vec. However, I'm having trouble understanding the original paper, specifically about how to incorporate the weight parameters of documents. Let D be the number of document... |
I am having difficulty structuring my data and finding a machine learning technique to predict my outcome.
My data: I have a number of users with observations of a number of factors each year, each user having a separate 'time-series', and I want to determine the outcome for the next year.
User | Year | Factor1 | Facto... |
I'm evaluating the performance of a trained neural network, and I'm getting the following stats:
AUC-ROC: 0.91
accuracy: 0.85
How should I interpret this result?
I'll add that the accuracy is a result of one-hotting the output and comparing it against the label, where as the AUC-ROC is calculated using the probabili... |
Say I have a random vector $(X, Y, Z)'$, how can I prove that $E[g(X, Y)|Z=z]=\sum_{x} \sum_{y} g(x,y) p_{X,Y|Z}(x,y|Z=z)$?
I know that in general $E[g(X, Y)|Y=y]=\sum_{x} g(x,y) p_{X|Y}(x|Y=y)$ because $g(X, Y)$ conditional on $Y = y$ is just a function of $X$, so we can let $h(X) = g(X, Y)$ (given $Y=y$). Then, by t... |
Following is my assignment question.
Suppose that an experiment is performed on three courses being taught
which are $C_1$, $C_2$ and $C_3$. The class of $C_1$
contains $30$ MS students, $40$ undergraduate students(U), and $10$ PhD students, class of $C_2$ contains $10$
MS , $10$ U, and $0$ PhD stude... |
In classification problem, we can adjust soft margin to make things easier. However, in some cases, especially in real-world data collections, the classification problem can be extremely hard because of the noise introduced. In 2D space, the following graph can be obtained:
We can easily conclude that these two classe... |
What does the expression $Pr(x|y;\theta)$ mean?
As in:
$$
{\displaystyle {\begin{aligned}L(\theta |x)&=Pr(Y|X;\theta )\\&=\prod _{i}Pr(y_{i}|x_{i};\theta )\\&=\prod _{i}h_{\theta }(x_{i})^{y_{i}}(1-h_{\theta }(x_{i}))^{(1-y_{i})}\end{aligned}}}
$$
https://en.wikipedia.org/wiki/Logistic_regression#Model_fitting
I've nev... |
I am currently studying panel data. I am using fixed effects estimators with cluster robust standard errors to account for the possibility of heteroskedasticity/serial correlation in the error terms. Since these errors differ quite a bit from "normal" fixed effects SEs, I assume that its reasonable to use them.
However... |
I teach statistics to under-grad engineer students who major in Information Technology (IT). My students first learn a (prerequisite) course on probability where they learn combinatorics, different probability distributions and the central limit theorem. Currently I teach a pretty traditional syllabus: point estimation... |
Do you know a reference or name for the following way to investigate if a complex modelling technique $T$ is biased?
Apply $T$ to the original data set. Measure its performance (e.g. R-squared in regression setting).
Randomly permute the response variable to get a new data set. Apply $T$ and measure its performance $P... |
Let's say I have a DataFrame that looks like this
value
0 2
1 6
2 5
3 3
4 7
To get the standard deviation I would use std
>>> df.std()
2.073644
How can I determine what value to add to the DataFrame so that the standard deviation is equal to a known value e.g. 3?
>>> df.loc[5] = ?
... |
I work on a classification task in which the uncertainty regarding some groups of entities is pretty high, i.e. there is little information on these entities in the data. I am trying to select a model and an algorithm for this problem.
Regarding model selection, I experience that the validation curves have a high stan... |
$\epsilon =\sum (y_i-\beta x_i)$
$\beta = \frac {\sum x_iy_i}{\sum x_i^2}$
$\sum y_i - \frac {\sum x_iy_i}{\sum x_i^2}\sum x_i=0$?
Is the sum equal zero or not? I only know that $\sum y_i =n\bar y$ and $\sum x_i =n\bar x$ but what to do with the fraction term?
|
Let $X\sim N(\mu_1,\sigma_1^2)$ and $Y\sim N(\mu_2,\sigma_2^2)$ be two populations with unknown means and variances.
Suppose $X_1,...,X_n$ and $Y_1,...,Y_m$ are iid samples from $X$ and $Y$ respectively.
How can I test the hypothesis that $\mu_1=\mu_2$?
Can I use the t-test with the static
$$t=\frac{\bar X-\bar Y}{[\fr... |
I am reading Ernie Chan's blog post "Mean reversion, momentum, and volatility term structure". It says that
To be precise, if $z$ is the log price, then volatility, sampled at intervals of $\tau$, is
$$\text{Volatility}(\tau)=\sqrt{\text{Var}(z_t-z_{t-\tau})}$$
where $\text{Var}$ means taking the variance over m... |
We are a project group working with ECG and we could use theoretical approval of our approach to deal with the problem.
Our present approach is to cluster the ECG's, validate the formed clusters by cluster validity indexes and then compare each cluster with the features of the diagnosis attached to the ECG's to try to ... |
Let $X$ be a random variable. What can we say about the joint distribution of
$$\left(X,g(X)\right),$$ where $g$ is an injective function?
|
This is more of an interpretation question than anything. I have run a GLMM with two fixed factors (both of which have two levels) and two random factors. The outputs from the model are as such:
Fixed effects:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 2.46847 0.31386 7.865... |
How to estimate the parameters of the variable from which we make draws in MSLE.
For example,
Consider (example from Cameron and Trivedi-12.4.5 Unobserved heterogeneity)
$$ y_i=\theta +u_i+\epsilon$$
I am interested in getting value of theta to get that I use MSLE. For using MSLE we make draws from u but how do I app... |
The pwr.r.test in R which uses the arctanh transformation (Fisher's $z$ transformation) relates inversely with the correlation coefficient. That is, if $r$ is high then $n$ is low.
pwr.r.test(n=NULL, r=.7, sig.level=0.01, power=0.99, alternative="two.sided")
gives n = 34.4932. Whereas,
pwr.r.test(n=NULL, r=.9, si... |
I want to know that difference of between Wilcoxon-Mantel-Haenszel and Cochran-Mantel-Haenszel method in Shift analysis.
|
I am a bit confused why the standard residual bootstrap fails to make consistent inference for lasso. Especially, it is claimed that the standard residual bootstrap fails to reproduced the signs of the zero components. Why is this the case? Also why does the modified residual bootstrap (threshold bootstrap) helps to so... |
If I'm making equal payments $C$ each period into an investment with log-normal one period returns such that $r_i \sim N(\mu, \sigma)$, is there a simple way to derive the distribution of future wealth at some time $T$?
I think terminal wealth should follow a function like this, because each cash flow grows with the re... |
Let $Y|X=x\sim N_p(Ax+B,\Sigma)$ and $X\sim N_p(\mu,\Psi)$ verify that
$$Y\sim N_p(A\mu+B,A\Psi A^T+\Sigma)$$
where $A$ and $B$ are matrix of constant terms.
I know that
$$E[Y]=E[E[Y|X]]=E[AX+B]=A\mu+B$$
$$Var(Y)=E[Var(Y|X)]+Var(E[Y|X])=\Sigma+Var(AX+B)=\Sigma+A\Psi A^T$$
the law of variance total and this condit... |
I am trying to figure out how many significant figures I should report after doing a linear regression in Excel.
I have a dataset of 740 entries.
I use 75% of them as a training set for the regression and 25% as the testing set. Each set is determined randomly.
I do a first regression I come up with some values for my ... |
The title might not be enough to understand my problem but i really did not know how to make it short but complete. My question might be silly but, it is also silly to stay stuck too long, so here I go: I have a set of growth and dilution values and I want to know if there is significant linear relationship between the... |
I have the following model fitted using the lme4 package in R:
mod <- lmer(var1 ~ var2 * var3 + (1|var4) , data=s1, REML=F)
I want to express this as an equation. I have the following:
$$
Y_{i} =
\beta_0 +
\beta_{0\varpi} +
\beta_{1\nu}\nu_i +
\beta_{1\varsigma}\varsigma_i +
\beta_{1\vartheta}\nu_i\varsigma_i +
e... |
LIME is a recent method that claims to help explaining individual predictions from classifiers agnostically. See e.g. arxiv or its implementation on github for details.
I am trying to understand what exactly it outputs. For that, I am using a trivial example: logistic regression.
Consider the following set of events:
d... |
I apply ARIMA and I want to consider weekly seasonality as a dayOfWeek predictor (1, 2, ..., 7).
How do I deal with dayOfWeek as a categorical variable?
|
In grad school, I was always taught the general linear model
$$\mathbf{y} = \mathbf{X}\boldsymbol\beta + \boldsymbol\epsilon\tag{1}$$
where $\mathbf{y}$ is a vector, $\mathbf{X}$ is some matrix, $\boldsymbol\beta$ is a parameter vector, and $\boldsymbol\epsilon$ is a vector of error terms satisfying $\mathbb{E}[\boldsy... |
I have an numerical, continous variable as my dependent variable, namely CDS. My independent variable is categorical, namely different time intervals after a downgrade.
Unfortunately my data does not have a normal distribution nor are the variances homogenous. Therefore I have to use a non-parametric test.
I want to s... |
I don't have a mathematical background so I apologise if this seems a bit simple for this forum, I'm not sure if this problem has a name in maths circles or is just too simple but I don't know the technical terms to search under.
I have a population of 3.2 billion and I want to measure something in X percent. I can sam... |
Ignoring the autocorrelation in the data, OLS estimators of the regression coefficients and variance can either be underestimated or overestimated.
My first question is about the regression coefficients. If the measurements are balanced, my intuition is that the estimators of the regression coefficients ignoring the a... |
I know this question might get marked as one that can easily be answered via textbook but it is something that I checked in a few of them and still can't get my head around. Basically what I'm trying to understand is how can $$Cov(X,Y) = E[(X - m_X)(Y - m_Y)] = E[(X - m_X)Y].$$
How I'm seeing the problem is that $(Y - ... |
Let us start from AR(1)-GARCH(1,1) model,
$r_t=\phi_0+\phi_1r_{t-1}+a_t$
$a_t=\epsilon_t\sigma_t$
$\sigma_t^2=\alpha_0+\alpha_1a_{t-1}^2+\beta_1\sigma_{t-1}^2$
where {$\epsilon_t$} is Gaussian white noise series with mean 0 and variance 1.
Assume that we can observe the returns $r_1,r_2,...,r_T$, then how to derive th... |
Q1: Are there common or accepted methods for dealing with non stationary environment in Reinforcement learning in general?
Q2: In my gridworld, I have the reward function changing when a state is visited. Every episode the rewards reset to the initial state. All I want my agent to learn is "Don't go back unless you re... |
Introduction
I have a small mixed dataset consisting of continuous and categorical independent variables with a dichotomous dependant variable. I'm running various algorithms (neural networks, random forests and logistic regression) to find the best model to generalise on unseen data. To do this i have performed a nest... |
I would like to perform in R a initial simple correlation analysis, between a gene signature that i have identified, and some continuous clinical parameters, measured on the same patients, to identify any interesting correlation patters. However, my main problem is the following:
as my gene expression microarray data h... |
Could there be any benefit to running a clustering algorithm on a data set before performing regression? I'm thinking that it might be useful to run a regression algorithm on each cluster thereby only including "similar" data points. Or would I simply be losing information?
One concern I had was that a test point at th... |
I have a highly non-linear (lots of jumps) likelihood function with K parameters (For example, a marked Hawkes Process used in seismology study). I implemented the L-BFGS-B optimization routine and it returns a Hessian matrix that has elements close to zero. As a result, several estimators of this likelihood function h... |
I have eight columns with different number of values and I am trying to do a non-parametric test between them. Should I do any correction for the number of values in each column? I couldn't find a good idea why to or why not to anywhere. If I do need to correct for different value numbers, then what should I do?
Basica... |
I am reading Williams et al. 2006, Combining Experimental Data and Computer Simulations, from the journal Bayesian Analysis (link). It provides a framework for combining $n$ points of field data $y$ with $m$ points of simulation output $\eta$, using a Gaussian process emulator. Define $\mathcal D = (y\ \eta)^T$. On pa... |
I am trying to understand the AUC (Area under the ROC curve) in the context of evaluating the performance of an algorithm for doing item recommendation(e.g. BPRMF). I know how the calculation is performed, but I am not able to show it graphically. For example, for calculating AUC for single user u, the following proced... |
I'm using this package to do a simple quantile regression. I have a dataset with 70 observations, a non-normal outcome called "post_tx_los" (length of hospital stay following organ transplant), and a continuous variable called PMI which is a muscle measurement. I'm getting some weird results for this analysis - for som... |
I would like to perform a time series analysis on two countries. To be more precise, I would like to discuss the effect of an event in country 1 on country 2. I was thinking about using GDP growth or exports to analyse the effects. However, I am not sure if this will be sufficient. Furthermore, I am also wondering whic... |
I have the epidemiological data [xlsx] [csv] of the 2014 outbreak of the Ebola virus in Sierra Leone.
I wanted to model the outbreak with both the SIR compartmental model
$$
\begin{align}
{\mathrm d S \over \mathrm d t} &= -\beta {S I \over N}\\[1.5ex]
{\mathrm d I \over \mathrm d t} &= \beta {S I \over N} - \gamma I \... |
I've been trying to think of the best way to approach testing for associations of genotypes (i.e. D/D, D/I, I/I) with ethnicity (i.e. African Americans, etc). Specifically, I would like to test whether any one ethnic group has a statistically significant difference in frequency of D/D or D/I genotypes over the other et... |
I am wondering what type of covariance correction for standard errors is better: Hansen-Hodrick or Newey-West?
Also, does someone know if StatsModels package that uses "HAC" for robust covariance uses Hansen-Hodrick or Newey-West correction for standard errors?
statsmodels.regression.linear_model.RegressionResults.get_... |
I am with a difficult to prove the next relation about exponential twisting.
According to Monte Carlo Methods and Models in Finance and Insurance by Ralf Korn, Elke Korn, Gerald Kroisandt.
The method of exponential twisting is given by:
I am trying to prove that in fact
$$C'(\theta)=E[X \exp(\theta'X-C(\theta))]=E_{\... |
I am having some question with the randomForest. I use the "creatFolds" in "caret" package to partition the data into training set and test set. After building the model, I found that the test data has higher AUC than the training data. Is this possible? The following is code. Could anyone help me with this? Thanks a l... |
I am working on a face recognition application and one of the features I want to include is to compare if two pictures of $2$ people is the same. I have written code (Convoluted neural network) to align and extract feature vectors of two pictures and represent the two faces as $n$ dimensional feature vectors $p,q$ on t... |
Suppose I have a team (Team A) and I am able to make an clone of them (Team B) that is identical except for one difference (for example, they are baseball teams and Team B uses a different type of bat than Team A).
If Team A and Team B play a number of games against each other, can the statistics from the head-to-head ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.