instruction stringlengths 9 38.7k |
|---|
My goal is time series forecasting. I have several external regressors as : promo budget, discount percent etc. I want to determine alpha and lambda parameters for elasticnet model. How can i do this? Common k-fold CV is not appropriate because i have deal with time series. Should i do something like CV for time ser... |
I have data from 500 respondents for a question, which of the following brands of phones have you seen/heard advertising in past 3 months?
a) Apple
b) Samsung
c) Nokia
d) Motorola
e) Lenovo
f) Others (Please Specify)
The responses I have are as below:
a) Apple: 90% (450/500)
b) Samsung: 88% (440/500)
c) Nokia: 85% (425... |
I am trying to categorize the functionality of batteries in one kind of device. I am using linear models to find the functionality of batteries over time (considering other variables in the device that uses the battery). Then I get the lm coefficient of battery over time and I am assuming that the batteris functionalit... |
If I understand correctly, when using deep learning with mini batches, we have a forward and backward pass in every mini batch (with the corresponding optimizer). But does something different happen at the end of the epoch (after using all mini batches)?
The reason I'm asking is that in my implementation of a u-net for... |
Question 1:
for eligibility formula: $G_t^\lambda = (1-\lambda)\sum^{T-t-1}_{n=1}\lambda^{n-1}G^{(n)}_t+\lambda^{T-t-1}G_t$
I wonder why it is identical to TD(0) when $\lambda=0$, isn't the outcome 0?
Question 2:
It is said that with $\lambda \in(0,1)$,agent would learn better than either extremely way(0 or 1). But why... |
I would like to create a behavioral credit scoring model to score the applications for which transaction data is available.
There's an obvious problem mentioned in Thomas et al. Credit Scoring and Its Applications (link) — "Someone who opened an account within the last six months cannot have an average balance (e.g.)fo... |
I am currently using the lasso for variable selection. Based on random subsamples of my data, the selections differ a lot, i.e. the selection consistency is bad. Literature such as Meinshausen & Bühlmann (2006), Zhao & Yu (2006), and Zou (2006) describe a so called "irrepresentable condition", which needs to be fulfill... |
I ran a few glm and linear models with an offset. Each row in the dataset is a healthcare user. The data contains medical payments and icu days of each user between 2000 to 2007. As the number of years with institute contact differs between user (e.g. some came to the medical institute in 2001-2003 whereas there some w... |
Let's consider the case of a measurement $x$ and its correspondent error $\Delta x$ (which are both always positive).
The relative error is defined as:
$$E = \frac{\Delta x}{x}$$
The relative error has many useful application in error propagation and so on, and it is frequently used to determine the quality of a measur... |
I have two questions. The first one is related with the ACF and PACF and the second with the Resulted Plot after using sarima.for
I have downloaded the bitcoin price for the last 3 years as an example to learn how to do time-series analysis.
Then as you can see I took the first difference and the lag in order to detren... |
Suppose I have coin where P(head on first toss) = P(tail on first toss) = 0.5, and P(head | previous toss was a head) = 0.8 and P(tail | previous toss was a tail) = 0.8.
Suppose I have a given realization of these coin tosses, say H, H, H, H, H, H, T, T, T. It is clear that there is serial correlation, since the first ... |
I am quite a novice to statistics and am currently fighting my way through the "Neural Networks and Machine Learning" Book by Haykin. (p.516-518)
In the discussion about independent component analysis in chapter 10:
Starting from
$\bf Y = WX$
X = observable, W demixing matrix, Y = demixer output
as an input output rela... |
I have a question about the use of publication bias modeling approaches in meta-analyses of proportions.
The traditional approaches of assessing publication bias, such as the rank correlation test, Egger’s regression model, and weight function approaches have all assumed that the likelihood of a study getting published... |
I'm running the augmented Dickey-Fuller-Test for two different Time Series and I have a question about the results in column "Variable". Why is there sometimes Y(-1) and D(Y(-1)) and sometimes only Y(-1)? And can I use the same detrending method for both time series?
and
|
Any thoughts on how far into the future to forecast? I'm working on forecasting our web monthly traffic in R. I'm using Holt-Winters and the dates Jan 2015 - Sep 2017. I want to forecast the next 12 months. I know the further I get out, the less accurate I am. Is there a good rule/ratio to follow? Thanks!
|
I'd like to use rfImpute to impute missing values in a data frame that looks something like this, but around 30 variables and much longer (~2000-3000 rows):
v1 v2 v3 v4 v5 v6
1 0.5850206 0.31921076 NaN NaN 0.29987225 0.78593398
2 -1.6768970 -1.539627... |
I am working on the ChickWeight Dataset in R.How should I split the data set to test and train using createdatapartition function and which field should I consider for partitioning of data?
There are weight,time , chick and diet data available in the dataset.
I am not sure which one should I be using to partition the d... |
My goal is time series forecasting. I have created a number of models to make predictions. I know that forecast quality can be improved by combining predictions from different models(linear combinations of forecasts, stacking etc) So the question is : How to determine how should i subset and combine my common models?... |
1) I have some house prices from the year 1990. I have about 200 data points. Let us assume that I fit a best line and calculate the AIC score.
2) Now for the same houses (200 data points), I also have the price from the year 1991. Let us assume that I fit a best line again (with the same independent variable and the ... |
The Problem
Given a gaussian random variable $\mathbf{x} = (x_1, ..., x_N)^T \sim \mathcal{N}(0, \Sigma)$ what is the probability that $i = \underset{i\in\{1, \dots, N\}}{argmax}\{|x_1|, \dots, |x_N|\}$?
An Example
Lets say that we are dealing with bivariate normal random variables such that $\mathbf{x} = (x_1, x_2) \s... |
I've conducted a GLMM on some zero-inflated pollinator count data using the glmmadmb() function. Here is the model, in which the counts are in the variable Total, fixed effects include mean temperature (Mean_temp), treatment (Trt), and an offset covariate which is number of floral units (FU), and the random effects inc... |
Given a sample of small finite sequences of transitions between the states of a Markov chain with unknown probabilities how to find the probabilities of transitions between states? Would computing the naive probabilities be a right (best) method? By the naive method I mean to compute the fraction of transitions that we... |
I am trying to implement a robit model. The answer here has a description.
I currently have functioning code (written in R) that follows the procedure laid out in this paper. It looks like this:
1. Input data y, X, beta, nu
2. [E step] Calculate sufficient summary statistics
3. Update beta based on (2)
4. [M step] Fi... |
I was using xgboost for binary classification task and notices that adding new features to model worsening results. As I understand xgboost itself can do implicit 'feature selection' because it tend to use more usefull features (can be seen by feature importance after model trained) and can handle feature correlation (... |
It's common in many applications to interact a set of numeric variables with a factor variable. The factor variable is a convenient abstraction for what is actually a matrix of dummy variables. For example, say I've got a $N\times 3$ matrix $X$ and a 3-level factor $fac$. In R I could generate the model matrix quite... |
I'm interested in the Randomized Complete Block design (RCB) with
three treatments, which I call $A$, $B$, and $C$,
and four blocks ($b=4$):
\begin{align}
\textrm{block 1: } (y_{A,1}; y_{C,1}; y_{B,1}) &\quad \quad \textrm{block 2: } (y_{B,2}; y_{C,2}; y_{A,2}) \\
\textrm{block 3: } (y_{C,3}; y_{A,3}; y_{B,3})&\quad... |
I'm struggling to estimate the parameters $\theta_{t},\beta,\gamma,\sigma^{2}_{\epsilon},\sigma^{2}_{\eta}$ of the following model:
$y_{t}=\theta_{t}+\beta (y_{t-1}-\theta_{t-1})+\gamma' x_{t} + \epsilon_{t},
\epsilon_{t} \sim N(0,\sigma^{2}_{\epsilon})$ (Measurement equation)
$\theta_{t}=2\theta_{t-1}-\theta_{t-2... |
Problem : Generate a text output based on input strings which will be combined using a number of rules.
Example :
Feature1 Feature2 O/P
Rule 1 Enum_Domain Priority /Enum_Domain/Priority
Rule 2 Enum_Domain.EnumData Name /Enum_Domain/EnumData/Na... |
I am told that the waiting time between now and the moment when the next volcano erupts follows an exponential distribution
$$f(t) = \lambda e^{-\lambda t}$$
with parameter $\lambda = 0.1$ events per year.
Let $X$ be the random variable representing the waiting time between now and the next eruption. My understandin... |
In this paper, Gaines and Zhou suggest solving for $\beta$ in constrained lasso by the following quadratic program form:
$$
\begin{eqnarray}
&\text{minimize}& \quad \frac 12 \begin{pmatrix} \beta^+ \\ \beta^- \end{pmatrix}^T \begin{pmatrix} X^T X & - X^T X \\ -X^T X & X^T X \end{pmatrix} \begin{pmatrix} \beta^+ \\ \be... |
Some experimental data was fitted, by using last squares, to a function $f_1(t;c_1)$, that depends parametrically on $c_1$ (that is, the best $c_1$ parameter, according to LS, was found by fitting).
I wish to fit the same data to another (but quite similar) function $f_2(t;c_2)$, but I do not have access to those data.... |
So, I have some data.. and a parameterized Hawkes process which I estimate parameters for via maximum likelihood... the residuals ( the compensator aka the dual-predictable projection) are good in that they both have nearly 1 for mean and variance and have almost no remaining autocorrelation. The odd thing is that even... |
Suppose I run an AB test with the goal of increasing the number of users who purchase a product.
After running the test for "long enough" I get that 5% of control users purchase, and 10% of treatment users purchase and I get a p-value of .01. Great! Reject the null hypothesis and conclude treatment is better than cont... |
I do multivariate regression analysis for a dependent variable. unstandardized coefficient B for one of the independent variables was 2.314E-005 ,standardized coefficient Beta was 0.051, CI (0.000- 0.000), p=0.409. i want to know what is the this abnormal value of unstandardized coefficient 2.314E-005 means ?
|
I want to ask about a multivariate generalization of this previous question.
It is a well established fact that in univariate (i.e. the response $y$ is univariate) linear regression, that the residual sum of squares (RSS) divided by the variance $(\sigma^2)$ has chi-squared distribution.
$$\frac{\textrm{RSS}}{\sigma^2}... |
I am comparing customer ratings at origination and at default. My data looks like this
Customer ID Rating at Origination Rating at Default
1 7 6
2 4 13
3 6 12
...
I have 483 unique... |
I'm trying to apply GARCH model to the RedHat market data using R.
When I use the garchFit function from the fGarch library I get the following results:
> garchFit(~garch(10,0),data=RedHatLogRet,trace=F)
Title:
GARCH Modelling
Call:
garchFit(formula = ~garch(10, 0), data = RedHatLogRet, trace = F)
Mean and Varia... |
I have a list of words, with two statistics computed for each entry, i.e.
Word Freq MI
beautiful girl 2310 12.07
girl gift 50 14.9
2310 is the frequency of 'beautiful girl' in a corpus and 12.07 is the mutual information computed of the two words. In order to guess which phrase "beautiful girl" ... |
My gradient boosting regression model (GBM) is trained to minimize mean absolute error (MAE) but gives the same prediction for every record on my highly skewed dataset. I believe there is a quick fix to the immediate problem (use RMSE) but my situation is complicated, and I worry that using RMSE will lead to a new set ... |
Given a dataset of series of events, structured roughly as follows:
series_id | number of events | average # days between events | average # days between most recent 5 events
0 2 5
1 1
2 3 8
3 ... |
I'm trying to implement a Wasserstein GAN according to this blog post:
https://myurasov.github.io/2017/09/24/wasserstein-gan-keras.html
And it has a wasserstein loss of:
def d_loss(y_true, y_pred):
return K.mean(y_true * y_pred)
My understanding is that y_pred converges to two values: 1 if the image is fake, and -... |
My question is about the Cleveland et al. 1990 paper STL: A Seasonal-Trend Decomposition Procedure Based on Loess. The full citation is:
Cleveland, RB, Cleveland, WS, McRae, JE, and Terpenning, I. 1990. STL: A seasonal-trend decomposition approach using Loess. Journal of Official Statistics, v.6(1).
The paper ... |
Given the random sample $\{X_{1},X_{2},\dots,X_{n}\}$ where $X_{i}\sim\mathcal{N}(\mu,\sigma^{2})$, the confidence intervals for $\sigma^{2}$ is
\begin{equation}
\left(\dfrac{(n-1)s^2}{\chi^2_{\alpha/2,n-1}} \leq \sigma^2 \leq \dfrac{(n-1)s^2}{\chi^2_{1-\alpha/2,n-1}}\right),\\
\left(a \leq \sigma^2 \leq b\right),
\end... |
Suppose I have 50 students -> with 30M and 20F. My hypothesis is that p1(males) = p2(females) with p1 and p2 being the proportions. I'm completely new to statistics so I'm a little confused. I understand that it is a BAD idea to do the Chi-Square test here. Since these are categorical variables should I use the Binomia... |
I have what seems like a simple question, but I've been trying to find a solution all afternoon with no luck.
My dataset that includes a number of continuous variables, and two different grouping variables. For a reproducible example, we can use the mtcars dataset in R:
# example data
df <- mtcars
# grouping variables... |
Consider two dependent random variables
$$X \sim \text{Ga}(\alpha,\beta)
\quad \quad \quad \quad
Y|X \sim \text{N} \Big( 0,\frac{1}{X} \Big).$$
How do I compute the PDF, mean and variance of the random variable $Z = X \times Y$?
|
So I will post qq of original data first along with logarthmic transformed data. If I'm interpreting the first correctly it looks like there is right skew to the data. The log transformed has a 'bulge' in the extreme right direction as well - values are lower than expected. I'm unsure how to transform this data to norm... |
I know its connected through the Cumulative Hazard Function but can't seem to get there
I'm trying to go from $m(t)=\frac{\int_{t}^{\infty}S(u)du}{S(t)}$ to $S(t)=\frac{m(0)}{m(t)}exp\{-\int_{0}^{t}m(u)^{-1}du\}$.
|
When using Stata for multiple regression, where do I find the error term?
For the regression equation:
y = constant + B1*X1 + B2*X2 + ... + Bk*Xk + E
Where is E in the output from Stata?
|
I read from a few sources that certain exponential smoothing methods (linear state-space) have an equivalence form as ARIMA. For example, simple exponential smoothing (SES) as ARIMA(0,1,1) and Holt's linear exponential smoothing as ARIMA(0,2,2). I was wondering, however, if each pair of the models are equivalent, why d... |
I am new to this website, to r, and to mixed effect models so apologise in advance if I exhibit a degree of ignorance.
I am looking for help of how to fit a model for an experiment that I have done. I am familiar (to an extent) with the lme4 package. So I'd like to use the lmer().
My experimental design: 3 animals wer... |
First of all, this is my first machine learning project after taking Andrew Ng's course, so please bear with me.
I'm working on the most famous dataset, the Titanic data.
First, I split the dataset to training and testing set :
training, testing = train_test_split(train, test_size=0.2, stratify=train['Survived'], rando... |
Given the discussion here:
Why are p-values uniformly distributed under the null hypothesis?
And, particularly the point that @whuber brought up on the composite hypothesis (link here).
I'm wondering even if the distribution of p-values is not as good looking as it should, would it be fine to just empirically estimate ... |
I'm doing a research where I applied a questionnaire with 67 items measuring 5 variables.
The issue is some questions are in Likert scale (0 to 10 and 1 to 5), some Yes, No, some open questions, some ordinal, some nominal. How can I mix those types into a single one in order to have each of those 5 variables?
Also the... |
I have this pulsed signal, and I would like to quantify the signal to noise ratio. Is there a preferred way to do this? My current approach is to filter the points that are obviously part of the background noise, and find their deviation value. That's my noise value. My signal value is the average of the max peak value... |
To measure the effectiveness of a marketing campaign, I have divided my customers in two groups. The experiment group, which is exposed to my campaign and the control group which is not exposed to the campaign. Experiment Group, Sample size is 10,000 and Control group sample size is 1000. My outcome is the buying respo... |
In this question i am confused in taking the limit of integration
i did like this for finding the value of constant c i need to do
$$\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty}f_{xy}dxdy=1$$
$$\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty}cxydxdy+\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty}2cxydxdy=1$$
no... |
I have a dataset with the number of businesses, e.g. bakeries or doctors, in some towns and cities.
I want to calculate the relative distribution of certain professions, but as the population size varies greatly between cities, the result can become quite volatile.
For example, if I have by chance one lawyer registered... |
I compute semipartial correlations between 4 source/seed time-series and 1000 target time-series. e.g., seeds 2-4 are partialled out of seed 1 before computing the correlations.
My goal is to quantify the unique contribution of each seed to the correlation with each target.
The problem is the following criticism I hav... |
Apologies if this has been asked before, but I can't see anything quite like it.
I am trying to make predictions on a data set (prices) based on data which include dates (say, a classic house price regression problem with historical sale prices and their dates).
I can see that the data is somewhat cyclical (ie house pr... |
Assume that there is an artifical dataset that allows perfect (linear) seperation in good and bad clients. Why is it that a method such as xgboost is not able to identify the perfect decision boundary?
On the left there is the sample data that consists of ~10,000 data points that can be seperated trivially in good and ... |
To analyse the traffic of passengers using an elevator of 8 floors with one main entrance, I need to register the number of passengers entering and quiting the elevator and also the waiting time.
Since I have one person to collect these data, a proposed solution is to measure the traffic in a given floor for a duration... |
At Mathematics Stack Exchange, user940 provided a general formula to calculate the variance of the sample variance based on the fourth central moment $\mu_4$ and the population variance $\sigma^2$ (1):
$$\text{Var}(S^2)=\frac{\mu_4}{n}-\frac{\sigma^4(n-3)}{n(n-1)}$$
I would be interested in an unbiased estimator for th... |
I have df1
> df1
V1 V2 V3 V4 V5 V6 V7 V8
1 1 EFNB2 EFNB2 EFNB2 72 0.667 0.05980 YES
2 2 AOC2 AOC2 AOC2 108 0.609 0.13000 YES
3 3 FOS FOS FOS 142 0.554 0.19300 YES
4 4 CCNE1 CCNE1 CCNE1 167 0.530 0.25700 YES
5 5 CBX4 CBX4 CBX... |
Suppose I have a large set of manually labelled data (e.g. 5000+ instances) with one of two lables, A or B, and I intend to build a ML classifier from this data. Using a proper methodology (e.g. cross validation, dividing data into training, testing, and validation sets etc.), suppose I obtain a classification accurac... |
Let's say that the likelihood of observation $x$ given a random latent variable $z$ and a model parameter $\theta$ is defined as $p(x|\theta, z)$.
As far as I know, if I want to obtain $p(x| \theta)$, I would have to compute the expectation of $p(x|\theta, z)$ with respect to $z\sim p(z)$:
$p(x|\theta)=\mathbb E_{z\sim... |
Following the links in parenthesis (link1, link2) I wrote a bit of code in MATLAB to simulate a PCA.
After running the code and plotting the results I obtain this graph:
My question is:
The numerical computation seems right. What is the problem with my plot?
Edit1: Below is the full code I used. Please help me fin... |
Generally speaking, can RMSE be smaller than MAE?
I am calculating RMSE and MAE for my results. In two out of five methods, the RMSE is smaller than MAE. Note that I am using the same data, the same script, and the same code to calculate RMSE and MAE. The only difference is the algorithm to create the models.
I have be... |
There exist several implementations of the GBDT family of model such as:
GBM
XGBoost
LightGBM
Catboost.
What are the mathematical differences between these different implementations?
Catboost seems to outperform the other implementations even by using only its default parameters according to this bench mark, but it ... |
Let's say I have information about three stages of cancer (Stage 1, Stage 2, Stage 3) and three treatment groups.
Now I'd like to compare if the odds ratio for all of these three groups are different.
In theory, I'd do this in R using polyr(stage ~ treatment). But this would only give me the p value for the comparsion ... |
In statistics class, we learnt that alpha = type 1 error rate, and type 1 error rate is the probability of wrongly rejecting our null hypothesis when it is true. It is equal to the red area of the following figure.
However, very rarely do we have just ONE comparison in a study. For example, in a typical psychology stud... |
The central limit theorem says that a sum of i.i.d. random variables is normal distributed. Now I have a large number of random variables (100000 responses to an item of a questionaire) but the distribution is skewed left. So with so many respondants I can even ask 1Million the distribution will not change.
So, maybe ... |
I would like to analyse the prevalence of a pesticide in nectar collected from fields in different years. The fields (ID) were sampled multiple times, therefore I used a GLMM with field ID as a random factor. I was surprised to see that the estimated prevalence was sometimes clearly lower than the prevalence calculated... |
I have a lot of time-series data for physical systems, where the underlying state-space model is quite complex and definitely not linear, so a Kalman Filter is out of the question. Following the ideas in the paper Bayesian networks for mathematical models: Techniques for automatic construction and efficient inference, ... |
I have a data set with about 2000 twin pairs and want to apply a logistic regression to it while taking account of the correlated observations (twin pairs = clusters). I use the GEE procedure in SPSS.
Looking at the QICs for independent vs unstructured working correlation matrix (WCM), the QIC is minimally smaller for ... |
I am developing a machine learning model to predict the energy of a molecule ($E$). $R^2$ and $RMSE$ (root mean squared error) values I am getting for the prediction of $ln(E+5)$ are .71 and .08.
I know $R^2$ is not good enough. Based on $RMSE$, can my model be considered a good one?
|
I am interested in studying the effect of 7 predictors (X1:x7) on one dependent variable (Y). 3 out of the 7 predictors are mutually exclusive (x1, x2 and x3).
Is it OK to include (x1, x2 and x3) along with the other predictors in the same regression equation? OR
Should I use three regression equations so that only ... |
Consider the usual normal Bayesian model. The prior $X=\mu_0+\sigma_0\epsilon_0$, where $\epsilon_0$ follows a standard normal distribution. The data $Y=X+\sigma_1\epsilon_1$, where $\epsilon_1$ follows a standard normal distribution. We know that the posterior $(X|Y=y)$ is in the format of $a\mu_0+(1-a)y+b\epsilon_2$ ... |
Unsure why I'm consistently seeing a higher training loss than test loss in my model:
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import LSTM
from keras.layers import Activation
from keras.layers import Dropout
model = Sequential()
model.add(LSTM(200, return_sequences=True,inpu... |
I'm wondering if it's valid to combine the methods for lmm reduction that Bates et al. (2015) and Matuschek et al. (2017) recommend:
Bates et al. suggest an iterative reduction of degenerate
maximal models. First they use PCA to obtain the appropriate dimensionality
of the variance-covariance matrix of the random-effec... |
I have a big graph and I have three sets(A,B,C) of labeled nodes on it.
I would like to compute on average how fare each sets are from each others. In other word, I want to compute distance matrix for these sets.
My primary thought was to use random walk, but I'm not sure whether random walk will necessarily give me sy... |
I am computing precision and recall for my classification and I am finding that the recall value for some classes is higher than the precision value. I am curious if that's even possible.
|
The expected value of X is 1 and is the same as X's SD. The expected value of Ysquare is 3, the expected value of (Y+1)square equals to 4, the expected value of (X+Y)square is 7.
I got stuck at figuring out E(Y+1)square.
any hint that can help me solve this?
thanks
|
I am currently planning to do something with Bayesian machine learning for time series data analysis. Does anyone know any classic books or tutorials that give complete instructions on this topic?
|
One approach to modeling count data with many zeroes, if I understand correctly, is to use a zero-inflated Poisson distribution.
I read about an alternate (to using the zero-inflated Poisson distribution) approach that I am looking for feedback on and insight into, in part because I cannot remember where I read it.
I... |
I was asked to be a statistician in a research (survey). The respondents were hospital personnel from our local hospital with a population size of 173. Respondents were asked (via questionnaire) what they think about the implementation of healthcare waste management practices in the hospital, and they may choose Fully ... |
I found an interesting question around topic modelling for small corpora:
Topic models for short documents
This got me to wondering if i am doing analysis on topic modelling on small amounts of text using BiTerm should I really be doing stemming as part of the data curation phase?
The reason I ask is I am currently ste... |
I am setting a VAR model with two variables. One of the variables looks like this:
Do you think it's still appropriate to setup the VAR as a time series with "drift" or do you think it must be "drift and trend"? The data is already log-transformed.
I read a few papers and my impression is that every author is handlin... |
Very broadly speaking, and particularly in Finance and timeseries data, there seems to be two kinds of factual data:
Data which represents the amount-to-date. For example: As of today, we have 50 employees.
Data which represents the delta or contribution for the time period in question. For example: over the past ... |
Link shortening service bit.ly allows you to, as you might expect, shorten URLs. URLs get shortened using a 7-character string. The alphabet of this string consists of a-z, A-Z and 0-9.
Today, Dutch police have used bit.ly for a tweet about the finding of a body of a girl that was missing for two weeks. Unfortunately,... |
I am trying to modify the code mkTrend.R from 'fume' package to implement Hamed and Rao (1998) variance correction approach.
From the code of mkTrend, the following line is very confusing (Line-29 to Line-34)
Now, Please help me with the following three questions
• According to literature the auto correlation functio... |
Problem
I have a task where a specific suitable action needs to be taken for each event. For instance in case we see event1, the good action to take is to do action1, and for event2, the good action is to do action2, and so on. The good action is decided based on the outcome of the event. This outcome can be positive o... |
I know that sample size affects power in any statistical method. There are rules are thumb for how many samples a regression needs for each predictor.
I also hear often that the number of samples in each category in the dependent variable of a logistic regression is important. Why is this?
What are the actual conseque... |
Can you please introduce me a good python library that supports both learning (structure and parameter) and inference in Dynamic Bayesian Network?
Thanks in advance
|
Why does the variance in the Normal density have a $2$ in it? I can make sense of the rest of the function, but I do not understand what the $2$ adds to the equation or why is it there. Wouldn't the version on the left give a proper density, with about the same properties as the normal density on the right?
$$ \underbr... |
Suppose you are given a set of time series, all with identical time stamps (a vector-valued time-series, if you will). These could be for example measurements of various medical metrics, such as blood pressure, heart rate etc of a single patient.
For a pool of patients such time series are given. For each patient the... |
So here is the problem.
The admission's office of a small university is asked to accept deposits from a number of qualified prospective first-year students so that, with probability 0.95, the size of the first year class will be less than or equal to 120. Suppose the applicants constitute a random sample from a populat... |
I want to estimate/approximate the standard error of an elasticity of Y with respect to X: (dy/dx)*(x/y)
Let's say I have the following data:
The mean of Y and its standard deviation
The mean of X
dy/dx and its standard error (e.g. a coefficient from a linear regression)
How can I approximate the standard error of... |
I am trying to determine whether a group of objects ($n = 100$) are spatially ordered (on a plane) with respect to the value of a particular property $p$ (a scalar).
If I had a strong sense of which single direction this ordering might occur along, I could simply project the $x$ and $y$ positions onto this vector and c... |
I need to validate a specific/trained neural network for classification, and I'm planning to use bootstrapping for this purpose. My idea is to keep fixed the trained network and generate bootstrap samples only for the test set, and then obtain statistics about accuracy/false pos/false neg for that fixed network.
Do you... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.