instruction stringlengths 9 38.7k |
|---|
I have a case where I want to feed a network with polylines of data. The problem is that the input can be any number of polylines and the polylines can consist of any number of points. If we instead convert the polylines to vectors the requirements might be easier to formulate:
Network with a variable number of input ... |
I have a machine learning classification problem where 0.05% of the population (N = 100k) is of the positive class. It is important that I don't misclassify these positives (aka I want to minimize the number of false negatives). I want to say with 95% confidence that my machine-learning model does not misclassify any p... |
For simplicity, let's say that I regress Y on X using OLS in three different datasets, which all have different numbers of observations (1200, 1500 and 1900 respectively).
In all three datasets, I standardized both X and Y (and also possible control variables), so the coefficients I am getting are standardized.
I heard... |
Given this network:
library(igraph)
set.seed(5)
g <- igraph::graph_from_atlas(100)
E(g)$weight <- round(runif(ecount(g), 0, 10))
#g <- as.directed(g, "acyclic")
plot(g, layout=igraph::layout_nicely(g), edge.label=E(g)$weight)
I compute the diameter:
dim <- igraph::diameter(g, weights = NULL)
dim
dimp <- igraph::get... |
I have an assignment of variable selection in survival analysis which I have done and on the basis of IBS (Integrated Brier Scores) I have concluded my proposed technique works well than the previous (LASSO and RSF) methods. Now I am asked to include some plots to show our approach works better than others. What are th... |
I am working on a research project for my Masters in Public Health which compares suicide rates across different time periods. I have done all my analysis in R and from what I can tell everything is fine, but my supervisor has suggested that my adjusted model outputting narrower CI's than my crude model is somehow susp... |
Dear All,
I have a data set with 10 continuous variables and 11 categorical variables. The ANOA test (for six continuous variables) and the Kruskal-Wallis test (for four continuous variables) were applied to the BMI levels (with three levels). Chi-square test was applied to categorical variables versus BMI levels. (so ... |
I have a problem finding missing SD from a study
Please refer to the image below
Note:
What is provided?
Each timepoint's mean
p-value for paired-test between (post) and (pre) score
What is NOT provided?
t-value
95% CI
Standard Error
Is there anywhere I could find the SD for each timepoint?
Thanks in advance :D
|
I am tackling a multi-label classification problem and I want to choose a SVM model maximising the AUC. I am not sure if AUC can be used in this case and if yes it is sufficient just to change the parameter probability to probability=True.
This is the python syntax:
svm = SVC(kernel='rbf', probability=True)
|
My dependent variable is a raw score at some test that has a likert scale (ordinal data). My two independent variables are sex (male or female) and amyloid status (AB+ or AB-). I want to test the main effects of both IVs on the DV and also their interaction. The distribution of the dependent variable is not normal so I... |
I am aiming to reproduce the issue (using Python) described in the answer here Is normality testing 'essentially useless'?
It states that the assumption of normality is more likely to be violated when the sample size of the studied distribution is large (n>1000) and the Shapiro-Wilk test for normality will become more ... |
The problem: Suppose I have an ordered sample of $n$ observations (e.g. a playlist of songs) that are ranked according to some latent (unobserved) feature, for each of which $p$ covariates are recorded. I want to build a model that is able to rank a new $m$-sample consistently with the original sample, based on their c... |
I want to model number of plants in 12 different areas.
Each area is divided into smaller plots of equal size for all areas. The number of plots between areas vary (31 for the smallest area, 500 for the largest).
For each plot I have counted number of plants.
I also measure max canopy height for each plot.
I have a lot... |
It is commonly suggested that if you are having trouble getting your lme4, Frequentist mixed-effects model to converge, you can either (a) simplify and drop random effects in the model, or (b) pivot to Bayesian mixed-effects models using brms (https://m-clark.github.io/posts/2020-03-16-convergence/).
I often accept thi... |
Recently I've been plotting a lot of data, and often I find myself using a moving average to smooth out values that oscillate or otherwise fluctuate a lot. However, the problem with this is that it removes the edges of the series, so in case of e.g. up-to-date time-series data I no longer have a view of the most recent... |
Here is the dataset for repeated measures:
library(lme4)
library(nlme)
d=read.delim("http://dnett.github.io/S510/RepeatedMeasures.txt")
d$Program = factor(d$Program)
d$Subj = factor(d$Subj)
d$Timef = factor(d$Time)
I have built an unstructured model using gls function and I am trying to reproduce the results using a ... |
I plotted data from two groups using geom_smooth in ggplot2. The default method loess was used for the lines and confidence interval was also added. Am I right by assuming if the lines and confidence intervals do not overlap there is a significant difference? For example, in the following graph, is it correct that ther... |
I've a large dataset including a response bmk, a continuous predictor delay, a group factor (n=2, 0 and 1), and a random effect medu (n=85).
I split the whole dataset (dat) into two subdatasets (dat0 and dat1) based on the group factor.
Then, I run the m0 and m1 gam using bs='fs' separately, applied on dat0 and dat1, r... |
I am a Secondary Math teacher who is interested in creating effective learning in groups. My desire is to create a system/program that maximizes student Test performance, but I am not exactly sure where to start.
My idea thus far:
I have $n$ students, each of which has probability $p_i$ of passing their next Test. The ... |
I am trying to find the mean of a sample from time-series of variable 'A', consisting of all 'A' values that occured when the concurrent Variable 'B' met some condition.
I know that the A measurments have an uncertainty of ± 1.0 kph, and the B measurments have an uncertainty of ± 0.5 cm. I need to propogate this uncert... |
I am trying to quantify the cumulative difference between two time series using dynamic time warping. For example, here I calculated and plotted the DTW distance between Speaker rating (pink line) and the Listener rating (blue line):
I am struggling with how DTW can account for polarity (or positive/negative direction... |
Suppose I have a collection of time series for a number of subjects, say $y_{ij}$ are measurements for subject $i$ at time $t_{ij}$. The times are not uniformly sampled and each subject may have a different number of measurements.
I'm interested in ways to estimate the time-varying probability density on $y$, call it ... |
I am trying to become more familiar with time series analysis. I am reading through Dangers and uses of cross-correlation in analyzing time series
in perception, performance, movement, and neuroscience:
The importance of constructing transfer function
autoregressive models by Dean and Dunsmuir, and they mention time se... |
I am working with SGHMC (Stochastic Gradient Hamiltonian Monte Carlo) models.
I found an implimentation of the algorithm in pytorch here. The part of the code that represents momentum variable update (not a complete update):
def update_params(lr,epoch):
for p in net.parameters():
if not hasattr(p,'buf'):
... |
Let's set up a toy problem. Say I make a vat of soup every week. Different kinds of soup, different volume each week (e.g. 50 gallons, 46 gallons, 10 gallons, etc.) and sometimes there are flies in the soup, which is understandably gross but stay with me. The question is: are there certain soups that are more likel... |
I have the following plot, which appears to have two pretty distinct trends.
The plots shown here and here depict similar situations. Is there a name for data that have two or more distinct trends, particularly when the distinct trends cannot be attributed to different factors?
|
I am using the Blavaan R package to fit bayesian path analysis models. The output includes an R-squared value. It has come to my attention that there are problems with using R-squared for bayesian analysis i.e., it is a point estimate and can be greater than 1. I would like to know if Blavaan calculates it in a way tha... |
I have data with one I(0) and seven I(1) variables. I found by Johansen procedure that maximum cointegration rank is 1 (applied to I(1) variables).
Now I try to understand, how can i add I(0) variable into VECM?
|
I have fitted a regression tree on my data and would like to demonstrate that it is a good model. Are there any standard goodness of fit test or index for a regression tree?
I understand that I can calculate the Confusion Matrix or Gini's index etc. to assess performance of each node but are there any way to assess the... |
At t = 0 my two variables x und y do not correlate. Due to an event, at t = 1 x und y suddenly correlate....
Is there a way to measure the the disorder of the two variables at t = 0, so that I can say that due to the specific event, the data becomes more "ordered". Something like skewness, entropy, ...?
|
I first ran a regression with my dependent variable and covariates:
reg dv treatment covar1 covar2 covar4 covar5 covar6
The n=738
Then a used psmatch2 to generate new treatment/control groups according to propensity score:
psmatch2 treatment covar1 covar2 covar4 covar5 covar6, out(dv) logit
I then ran a regression with... |
I am conducting a study to estimate the effect of Medicaid expansion on the uninsured rate using a classic Difference-in-Differences (DID) design with two-way fixed effects (twfe) model. My mathematical model is as follows:
$$
UNINS_{ist} = \alpha_s + \delta_t + \beta EXPANSION_{ist} + \epsilon_{ist}
$$
In this model:
... |
I estimated a hurdle negative binomial regression model with zero-truncated negative binomial model as the count component in R using the pscl package. I wish to present elasticities for the count component and I am having a hard time figuring out the relation for the elasticity estimates from the regression coefficien... |
I am working with raw data from a multiplex Luminex assay ( not by commercial kit); I have found that some duplicates have a high %CV. I would like to know if you can advise me on dealing with this data (I can't remeasure these samples).
I describe some of the solutions I have found:
1.- Choose a cutoff CV and eliminat... |
I am a physician looking for help with research. I am looking to learn the best way to analyze my data. I thought it would be simple enough, but after speaking to a colleague and doing my own research, it seems a little more complicated.
Basically, the project entails me taking a about 100 patients and looking at their... |
I have 2 new conversion webpages to test. Leadership recommends 80% traffic to existing conversion webpage and 10% each to the 2 new conversion webpages (non-negotiable)
How do I calculate sample size? I understand the fundamentals of sample size calculation - alpha, power, baseline conversion rate and minimum detecta... |
$f_X(x)$ gives value of the probability density function of random variable $X$ at point $x$. I am not sure how to wrap my head around $f_{Y|X}(y|x)$; is $Y|X$ still a random variable (sorry for the very basic question, I have not been able to find an answer on Google)?
This confusion comes from me trying to figure out... |
I need to limit the output value to [0,1], but using tanh or sigmoid activation function after the last layer of convolution or full linkage will result in a return gradient of 0, (falling in the level of the activation function), but also do not need to let the value of the sum of 1 (softmax), is there any good way, t... |
I am working on training a Seq2Seq Variational Autoencoder (VAE) model using healthcare data. In my dataset, I have features that exhibit varying levels of variance across patients. For instance, blood glucose values are highly variant for each patient, while HbA1c levels (which reflect an average of blood glucose over... |
I have two models to fit a set of categorical features.
One uses an encoding followed by a Kernel Density Estimation (with cross-validated bandwidth search) to make a continuous distribution. I am aware that this might be a stupid idea, but bear with it.
One models the distribution directly using a probability table (w... |
I have a block in a CNN that splits the input channel-wise in half, and one half goes through a regular 3x3 2d convolutional layer, and the other goes through a dilated 3x3 2d convolutional layer. After each is a batch normalization, then an activation function. They are both then concatenated again channel-wise before... |
I am trying to inspect a circular time series (a long time series of angular measures in 0-360°). The main aim would be to identify abrupt changes in the time series, but as a start I would like to plot it and visually inspect it. What is the best way? I am aware of the Fisher & Lee 1994 paper, but I found it difficult... |
I have fitted a regression tree on my training data and would like to demonstrate that it is a good model. For now, I am doing that by calculating the RMSE between the actual values of the dependent variable and the corresponding model outputs. The dependent variable is a continuous variable.
Are there any standard Goo... |
We have a gold standard test and a new test, and want to compare them prospectively, in a diagnostic accuracy study. I want to work out the sample size required. I have done some reading, and there is a calculator online:
https://turkjemergmed.com/calculator
However, this asks you to enter the sensitivity and specifici... |
I am doing an analysis of a population of animals that died during the first year of their life. I am comparing them a) to all animals that died, ever, after how-ever long life; and b) animals that did not die and were not born before the earliest birth date in the first-year-death cohort. The data is all categorical a... |
I am trying to understand and implement Sieve bootstrap (maybe also known s a parametric or model based bootstrap) for time series, where the bootstrap samples are sampled from centered fitted residuals. The actual centering step is not clear to me, what does it actually do, and why is it there?
The method is introduce... |
I am calculating the weights for a survey, but I don't know what to do with my selection probabilities.
Let's say I want to ask people from some country what their opinion is about several subjects.
I have created a panel where I have asked people to partake in. I got SRS sampled adresses that have the same age and res... |
I am generating from a standard AR(1) process. Lets assume a decay time lag $\tau=100$ and unit time steps of $\Delta t=1$, so $\phi=\exp(-1 / (\tau/\Delta t))=0.99$. The predicted autovariance is $\sigma^2 = \frac{1}{1 - \phi^2}$.
Then the AR is defined as $y_{i+1} = \phi \times y_i + \epsilon$, where $\epsilon \sim \... |
I have a graph like this above and I used the tab_model function in library sjPlot to report the results of my model. My Model is random intercept and random slope model. I am quite new with advance level of stats like this. My question is about odd ratio. Odd ratio of 1.40 (p < 0.001***, significant), which means th... |
I'm working on a project on time series multi-step ahead forecasting in Python.
I have a time series, and I apply an ARMA model on it (statsmodels SARIMAX library). I know that ARMA models, as many other models, when forecasting tomorrow value give as output the estimate of the conditional expected value of the process... |
I am running an ordered logistic regression for my thesis. I am trying to test the relationship between counterterrorism aid and state repression levels in recipient countries. I ran my regression, and for my first model, my International War control variable has a coefficient-value of 38.007 and a very large standard ... |
I've been wondering why most publications give stats as mean +/- standard deviation, even for things like measurement devices, where reproducibility is a major concern. (E.g., for a given sample, our devices measured 50 +/- 5). Wouldn't it be be more appropriate to use something like a confidence interval?
Is there any... |
Problem
am wanting to do a leave1out sensitivity analysis of an rma.mv (three-level) meta-analysis, where "1" is a cluster / sample (rather than a single effect size).
I understand that some functions, such as leave1out, do not work with rma.mv model objects (e.g., Metafor package: bias and sensitivity diagnostics).
At... |
I've been reading Probabilistic Machine Learning, by Kevin Patrick Murphy but I don't quite get the motivation for presenting Machine Learning from a probabilistic point of view. For example, when presenting Linear Regression (or any other model for that matter) it goes like this:
The key property of the model is that... |
In LayerNorm, for a given layer, we first compute the mean and variance of the activation of each sample and then use them to normalize the said activation.
Specifically, the LayerNorm formula looks like this (from here):
$$
y = \frac{x-E[x]}{\sqrt{var(x) + \epsilon}}\times \gamma + \beta
$$
If $\epsilon$ is small, th... |
I am analysing suicide counts and thus it seems appropriate to use Nb/Poisson regression. However, my counts come from survey data and are only whole numbers when unweighted. Once I realise the weights (which include decimals) the counts contain decimals, and I believe Nb/Poisson models require whole numbers to properl... |
I am having trouble understanding and proving Isserli's theorem for n=4:
$$ E(x_1x_2x_3x_4) = E(x_1x_2)E(x_3x_4) + E(x_1x_3)E(x_2x_4) + E(x_1x_4)E(x_2x_3) $$
My attempt goes as follows:
Assuming
$$ P(x_i) = \frac{1}{\sqrt{2\pi}}e^{-\frac{x_i^2}{2}}$$
Then
$$\small{ E(x_1x_2x_3x_4) = \int_{x_1=-\infty}^\infty \int_{x_2=... |
Im currently working on a data set and I can not get my statistics to add up. It is a survival analysis and I'm using Kaplan-Meier and Cox proportional-Hazards regression. I have used STATA for analysis.
My cox regression indicates no increased nor decreased risk of survival. I then test the PH assumption and obtain a ... |
I have a series of numbers ranging from -0.69 to 14.703. These datapoints measure YoY change. I want to create a text descriptor based on where a value falls in a range determined by the Standard Deviation. My mean is 1.13144 and Std Dv is 2.1579. This leaves me with these standard deviation steps, to which I assign a ... |
I have data assessing reaction time (RT) with 2 variables:
Variable 1: 'HighLow', with 2 levels ('High' and 'Low')
Variable 2: 'Condition', with 3 levels ('Predicted', 'Implausible', 'Plaus/Unpred')
I am learning about contrasts and have therefore run 2 mixed models that differ based on the contrasts used.
Contrasts fo... |
I have pairs of observations $(X_i,Y_i)$ with errors in both variables and I need to find the line that best fits the data. I have found some methods, but it is essential to know the standard deviation of the errors of $X_i$ and $Y_i$ or the ratio of error variances. What method could I use if I don't know these values... |
I tried to use a QLR test for structural breaks for a variable that I am forecasting, and I found a break, which is very accurate to geopolitical events in 2022.
Because of this, my significance of some exogenous variables in the model (ARIMAX) changes depending on the size of the training sample.
I'd like to capture t... |
The Problem
Given probability distributions $P(\theta)$ and $P(X)$, and given an inverse function $Y=f^{-1}(X,\theta)$ that returns a unique $Y$. How can one estimate the unkown distribution $P(Y)$ in the following hierarchical model?
$\theta = f(X,Y)$
$Y \sim P(\cdot)$
$X \sim P(\cdot)$
The Questions
What is this pro... |
I have two random matrices one on the top of the other:
$ \begin{bmatrix}\boldsymbol{B_1} \\ \boldsymbol{B_2} \end{bmatrix}$.
and they are both of dimension $k \times N$. I have that:
$ vec\begin{bmatrix}\boldsymbol{B_1} \\ \boldsymbol{B_2} \end{bmatrix} \sim \mathcal{N}\left(\begin{bmatrix}\boldsymbol{\mu_1} \\ \bol... |
Let $\alpha, \beta$ be independent d-states (d > 2) Markov chains with the same
transition probability matrix $\pi$, and let
$P(\alpha_0 =1)=P(\alpha_0 =d)= \frac{1}{2}$, $P(\beta_0 =2)=P(\beta_0 =d−1)= \frac{1}{2}$.
Find ALL transition matrices $\pi$ such that $\alpha$, $\beta$ may be successfully coupled.
My attempt
... |
I am looking at the proof given in this paper constituting lines (3) to (6) but am stuck on the first line. The setup is as follows:
Consider $X \in \mathcal{X} \subset \mathbb{Z}$ with a discrete probability distribution $P(x)$, uniform noise $U \in [0,1]$ and noisy data $Y=X+U$ with density $p(y)$. Suppose we model $... |
I would like to find the standard error of the median survival time and do some approximation to estimate the density function around the median survival time according to equation (5) of this: http://www.med.mcgill.ca/epidemiology/hanley/c609/material/KaplanMeierEstimator.pdf
Is it possible to do it in R? If so, can ... |
I've seen attempts to answer this particular question before, but I'm either not understanding something (often a priori correct), or I'm missing a better way.
Essentially, what I want to do is draw n random samples from (say) a normal distribution, with specific mu and sigma, where there is a serial autocorrelation ou... |
I have 3 dataframes with the same structure (each dataframe includes a different type of tweet). Here are the columns of dataframes: id, tweet_time, cascade_lifetime, cascade_size.
I would like to compare the cascade_lifetime and cascade_size of different types of tweets. To do this, I plotted the empirical CCDF of the... |
I have fit a time-series count HGAM with environmental covariates as parametric terms and year as a site-varying smooth term. I am wondering if I need to use an alpha threshold of 0.01 to interpret significant p values for the parametric terms, or is a 0.05 threshold appropriate?
Thank you for any help
|
I have a situation where I compute a posterior probability using the vanilla Bayes' Theorem:
$P(A|B) \propto P(B|A)P(A)$
As a concrete example, $P(B|A)$ is a Normal distribution establishing the likelihood that a measured value plus random noise is consistent with a known expectation value (and variance), and $P(A)$ i... |
I would be grateful for a cross-check on my understanding of the criteria for valid ANOVA analysis. The orthodoxy I've always used is the Hartley’s Fmax test, if that fails ANOVA is simply no-go.
The question is in two parts:
Could D’Agostino-Pearson test for normality alone be used to justify ANOVA analysis? If this ... |
Background: I did an experiment in which 30 people watched 3 movie clips ("A", "B", and "C") in a random order. For each song and participant I measured one continuous neural variable named SNR (1 value for each participant and for each song) and one continuous behavioral variable named RT (1 value for each participant... |
I found this plot in a paper. I have found similar plots in other papers from the same team. It is basically the comparison of MODIS C6 and C5 products with AERONET. I wanted to understand what that 'Frequency' color coding means and how was that calculated. I also have a data frame with AOD and AERONET data, but even ... |
I am trying to implement sampling from GEV distribution without using external libraries (except numpy) and this is what I came up with:
import numpy as np
def gev_rvs(c=-0.583, loc=68.44, scale=66.05, size=1000):
u = np.random.uniform(size=size)
sample = loc + scale / c * (np.power(-np.log(u), -c) - 1)
ret... |
I don't have a strong background in statistics, I am reading two papers which mention Wilcoxon tests, signed-rank and rank-sum, and they are applied on two different situations.
I found a bit cumbersome to understand what they do, and how to chose between them for appropriate significance testing.
Could you please unde... |
I am currently working with a VAR model in R using the second difference of some variables (it only becomes stationary after differencing twice). So far I'm trying to see if the model fits one of the variables which seems to be the case to a reasonable amount. However, when I'm trying to transform the fitted values bac... |
I'm trying to figure out how to get the probability that you reach a certain point in my game.
The way it works is that you start off with 22 things (including yourself), and each time you press enter a random thing explodes and you get a point.
The twist is that if something explodes, that thing cannot be exploded aga... |
I'm processing several time series in an effort to identify meaningful trends over time.
More specifically, I'm computing several time- and frequency-domain metrics (e.g. RMS, Peak-to-Peak, Integral, Median and Peak frequencies) over sequential same-length windows/segments (no overlap) and performing a 1st order polyno... |
I am trying to write the neural network as written in the book "Neural Networks and Deep Learning" by Michael Nielsen. I have finally gotten the code to run but every epoch results in the same output no matter where it starts it gets stuck at a similar, very inaccurate value. The code and results are below.
import rand... |
In the Definition 3.4.1 of Pearl's causal inference book (Primer), the second rule for the front door criterion is "There is no backdoor path from $X$ to $Z$". But from my understanding, there EXISTS one backdoor path from $X$ to $Z$: $X \leftarrow U \rightarrow Y \leftarrow Z$. And this backdoor path is blocked by th... |
I am interested in learning about how to calculate the Standard Deviation of the Weighted Mean.
From Wikipedia (https://en.wikipedia.org/wiki/Pooled_variance, https://wikimedia.org/api/rest_v1/media/math/render/svg/0224c1c53591c619794682f2bc3560dc86530e2b), I obtained the formula for the Weighted Mean:
$$\mu_x = \frac{... |
Does there exist a point process $X$ in the plane with the following two properties?
$X$ is hard core. Discs of radius $h$ can be centered on the points in $X$ without overlapping.
$X$ is encountered as Poisson arrivals. Propel a disc of radius $r \leq h$ at constant velocity along a randomly selected line across the... |
Could you please help to understand if this interpretation for OR 1.318 and 95 % CI 0.72-2.42 is correct. Especially, I want to understand how we determine the positive or negative direction, do we focus on 1? whether it is included in CI or not?
the odds of depression among personnel who worked for more than 8 hours p... |
I am new to using mixed effect models and all the information online has me quite confused. I hope someone can help me.
I have data of patients who did the same test at three different timepoints. I want to use a mixed effect model (lme4 package) to look at effect of time on change in score. I added an example data set... |
I'm writing code to calculate if the correlation between two random variables is significant.
I've recently come across Fisher's z transformation as a method for finding significance. But from reading around:
SAS on Fisher's z
Wikipedia on Fisher's z
it seems this transform only applies to normal variables. A lot of ... |
Let $P$ be a finitely additive probability measure. I learn from my friend that:
$[P(X>Y)=1 \implies \mathbb E_P[X]>\mathbb E_P[Y]]\iff$ $P$ is countably additive.
Seems to be a very useful result. Is this result covered in textbooks or literatures?
|
I need help to statistically test a uniform distribution of a toss of 7 independent coins.
Here is the table :
Coin_nb Heads Tails Nb_toss
Coin1 86 73 159
Coin2 42 63 105
Coin3 52 62 114
Coin4 53 55 108
Coin5 73 48 121
Coin6 60 77 137
Coin7 66 43 108
How could I ... |
I have the intuition that applying a deterministic function to a pair random variables cannot increase their mutual information, because the function can only decrease each of their entropies.
I would like to know if this is true and prove it.
So far I've been trying to expand the mutual information definition to reach... |
I am looking for help with what statistical test I should use to analyse my data.
I want to know if there is a statistically significant difference between the animals behaviour before and after interaction with a tour vessel
There are five types of behaviour, and for each encounter I know what the behaviour was pre ap... |
I have a database of defects on plastic films. Defects are burns, holes, and similar things. Some defects are direction specific. A vertical sign on the material represents a scratch done on the material during the extrusion process. Data augmentation is a useful tool, but can be harmful for these defects.
I was thinki... |
Is it possible, using custom cost functions or otherwise, to run xgboost regression for a single target variable, but rather than outputting just the conditional mean (conditioned on the feature values) of the variable as a prediction, to output condition distribution parameters.
For example, the way to interpret Poiss... |
I have multivariate time series (VAR), and i found a break near the end (84.7%).
I wanted to use a dummy variable in this situation, but even if I choose 90% training set, the dummy only trains on 100 values (i have 1900 values in total).Сould this skew the results?
|
I plotted some time series data that looks non-linear as can be seen below.
![Text] [Looks pretty non-linear, but I decided to implement a linear regression model for learnings sake.
train_data = df["High"].iloc[:math.ceil(10382*0.8)].to_numpy().reshape(8306, 1)
y_data = df["High"].iloc[1:math.ceil(10382*0.8)+1].to_nu... |
In my project I generate synthetic energy demand data using a neural network. I want to check the cross-correlation of those two time-series: the original and the synthetic one. I found, that the detrended cross-correlation coefficient is a good measurement to determine cross-correlations between two non-stationary tim... |
For a given data $y_{i}$, with $i=1, \dots, n$, we consider the following signal approximation:
$$
\hat{y} = \arg \min_{w}\sum_{i=1}^{n}(y_{i}-w_{i})^{2} + \lambda \sum_{(i,j)\in E}|w_{i} - w_{j}|,
$$
where $E$ is the set of edges corresponding to the two-dimensional grid.
The question: for image denoising what are the... |
I'm working with a GNN model for link prediction and using precision_recall_curve and roc_auc_score from the sklearn.metrics functions. For the GNN definition and use, I'm using Pytorch geometric.
The last layer of my GNN is a dot product between aggregated node features, which I'm considering as the score.
It means I ... |
I'm trying to think of a descriptive statistic in the context of sports betting.
Some background:
Sportsbooks post odds such as -150, +200, etc... for moneyline bets (aka betting on winner).
These odds can be converted to explicit probabilities of who the winner will be.
Source: https://www.sportsbookreviewsonline.com... |
In ordinary least squares linear regression, given a set of data points $(x_1,y_1),(x_2,y_2),...(x_N,y_N)$, that we want to fit to the function $y=\beta_0 + \beta_1 x$, we would usually write the linear model as the matrix equation
$$
\begin{align}
\mathbf{Y} &= \mathbf{X}\boldsymbol{\beta} + \boldsymbol{\varepsilon} ... |
Let $\mathcal{L}(\theta\mid x_1,\ldots,x_n)$ be the likelihood function of parameters $\theta$ given i.i.d. samples $x_i$ with $i=1,\ldots,n$.
I know that under some regularity conditions the $\theta$ that maximizes $\mathcal{L}$ converges in probability to the true value $\theta_0$ as the sample size becomes infinite ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.