If you are looking for a free and flexible Statistical package, R is the best. However there are challenges with data manipulation in R and sometimes it becomes exhaustive. R Studio makes it easy to code.

R useful commands

https://www.personality-project.org/r/r.commands.html

attach(df)

detach(faithful) # clean up

search()

SHIFT+TAB

You cannot convert 10% to numeric 0.1 directly. Instead use

```
x <- c("10%","5%")
as.numeric(sub("%","",x))/100
# [1] 0.10 0.05
```

To find distribution of a file one can refer to the following link:

https://stats.stackexchange.com/questions/132652/how-to-determine-which-distribution-fits-my-data-best

I encountered an error when I ran the following command:

```
descdist(df["a"])
```

`Error in descdist(df["a"]) : data must be a numeric vector`

```
> typeof(dfn)
[1] "list"
```

The problem is type, however as.numeric generated the following error:

` (list) object cannot be coerced to type 'double'`

Finally the problem was solved by unlisting:

```
descdist(unlist(df["a"]))
```