Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGoueguel committed Apr 19, 2024
1 parent 531f2b6 commit af79a0b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/
[![codecov](https://codecov.io/gh/ChristianGoueguel/ConfidenceEllipse/graph/badge.svg?token=JAGMXN2F70)](https://app.codecov.io/gh/ChristianGoueguel/ConfidenceEllipse)
<!-- badges: end -->

The `ConfidenceEllipse` package computes the coordinate points of confidence ellipses and ellipsoids for a given bivariate and trivariate normal data. The size of the ellipse and ellipsoid is determined by the confidence level, and the shape is determined by the covariance matrix. The confidence level is usually chosen to be 95% or 99%, and the resulting confidence region contains the points that are expected to lie within the multivariate distribution.
The `ConfidenceEllipse` package computes the coordinate points of confidence ellipses and ellipsoids for a given bivariate and trivariate dataset. The size of the ellipse and ellipsoid is determined by the confidence level, and the shape is determined by the covariance matrix. The confidence level is usually chosen to be 95% or 99%, and the resulting confidence region contains the points that are expected to lie within the multivariate distribution.

## Installation

Expand Down Expand Up @@ -74,7 +74,7 @@ glass %>% glimpse()
```

### Confidence Region
#### Ellipse
#### Classical and robust confidence ellipse

First, the `confidence_ellipse` function is used to compute coordinate points of the confidence ellipse and then the ellipse is plotted on a two-dimensional plot `x` and `y` of the data. Points that lie outside the ellipse are considered to be outliers, while points that lie within the ellipse are considered to be part of the underlying distribution with the specified confidence level `conf_level`.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/

The `ConfidenceEllipse` package computes the coordinate points of
confidence ellipses and ellipsoids for a given bivariate and trivariate
normal data. The size of the ellipse and ellipsoid is determined by the
dataset. The size of the ellipse and ellipsoid is determined by the
confidence level, and the shape is determined by the covariance matrix.
The confidence level is usually chosen to be 95% or 99%, and the
resulting confidence region contains the points that are expected to lie
Expand Down Expand Up @@ -82,7 +82,7 @@ glass %>% glimpse()

### Confidence Region

#### Ellipse
#### Classical and robust confidence ellipse

First, the `confidence_ellipse` function is used to compute coordinate
points of the confidence ellipse and then the ellipse is plotted on a
Expand Down
11 changes: 5 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
## R CMD check results
Change made:
(1) Added references in the DESCRIPTION file
(2) Added more details about the package functionality and implemented methods in the Description text.

NOTE: The Description field should not start with the package name,
'This package' or similar....Fixed
NOTE: Found the following (possibly) invalid URLs...Fixed
NOTE: Rd line widths...Fixed

0 errors | 0 warnings | 0 note
R CMD check results:
0 errors | 0 warnings | 0 notes

* This is a resubmission.
2 changes: 1 addition & 1 deletion vignettes/confidence-ellipse.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ knitr::opts_chunk$set(
)
```

A confidence ellipse is a graphical representation that shows the variability or uncertainty in estimates of the mean values of two normally distributed variables in a bivariate dataset. It is an extension of the concept of a confidence interval, which is used for a single variable. The ellipse is centered at the point representing the sample mean values of the two variables. Its size and shape are determined by the chosen confidence level (e.g., 95%) and the covariance matrix of the variables.
Confidence ellipses are extension of the concept of a confidence interval, which is used for a single variable. The ellipse is centered at the point representing the sample mean values of the two variables. Its size and shape are determined by the chosen confidence level (e.g., 95%) and the covariance matrix.

```{r message=FALSE, warning=FALSE}
library(magrittr)
Expand Down

0 comments on commit af79a0b

Please sign in to comment.