diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index efce3956fe..02b56886ba 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -229,6 +229,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/solver \
helpcontent2/source/text/scalc/01/solver_options \
helpcontent2/source/text/scalc/01/statistics \
+ helpcontent2/source/text/scalc/01/statistics_regression \
helpcontent2/source/text/scalc/01/stat_data \
helpcontent2/source/text/scalc/01/ODFF \
helpcontent2/source/text/scalc/01/text2columns \
diff --git a/source/text/scalc/01/stat_data.xhp b/source/text/scalc/01/stat_data.xhp
index 31e5611306..f11b62c861 100644
--- a/source/text/scalc/01/stat_data.xhp
+++ b/source/text/scalc/01/stat_data.xhp
@@ -1,4 +1,4 @@
-
+
+-->
-
-Data
-/text/scalc/01/stat_data.xhp
-
+
+ Data
+ /text/scalc/01/stat_data.xhp
+
+
+
+
-Data
+
+Data
Input Range: The reference of the range of the data to analyze.
Results to: The reference of the top left cell of the range where the results will be displayed.
+
-Grouped By
+
+Grouped By
Select whether the input data has columns or rows layout.
+
-Example
+
+Example
The following data will be used as example
+
-
-
-
-
-A
-
-
-B
-
-
-C
-
-
-
-
-1
-
-
-Maths
-
-
-Physics
-
-
-Biology
-
-
-
-
-2
-
-
-47
-
-
-67
-
-
-33
-
-
-
-
-3
-
-
-36
-
-
-68
-
-
-42
-
-
-
-
-4
-
-
-40
-
-
-65
-
-
-44
-
-
-
-
-5
-
-
-39
-
-
-64
-
-
-60
-
-
-
-
-6
-
-
-
-
-38
-
-
-43
-
-
-
-
-7
-
-
-47
-
-
-84
-
-
-62
-
-
-
-
-8
-
-
-29
-
-
-80
-
-
-51
-
-
-
-
-9
-
-
-27
-
-
-49
-
-
-40
-
-
-
-
-10
-
-
-57
-
-
-49
-
-
-12
-
-
-
-
-11
-
-
-56
-
-
-33
-
-
-60
-
-
-
-
-12
-
-
-57
-
-
-
-
-
-
-
-
-13
-
-
-26
-
-
-
-
-
-
-
-
-
-Example
-The following table has two time series, one representing an impulse function at time t=0 and the other an impulse function at time t=2.
-
-
-
-
-
-A
-
-
-B
-
-
-
-
-1
-
-
-1
-
-
-0
-
-
-
-
-2
-
-
-0
-
-
-0
-
-
-
-
-3
-
-
-0
-
-
-1
-
-
-
-
-4
-
-
-0
-
-
-0
-
-
-
-
-5
-
-
-0
-
-
-0
-
-
-
-
-6
-
-
-0
-
-
-0
-
-
-
-
-7
-
-
-0
-
-
-0
-
-
-
-
-8
-
-
-0
-
-
-0
-
-
-
-
-9
-
-
-0
-
-
-0
-
-
-
-
-10
-
-
-0
-
-
-0
-
-
-
-
-11
-
-
-0
-
-
-0
-
-
-
-
-12
-
-
-0
-
-
-0
-
-
-
-
-13
-
-
-0
-
-
-0
-
-
+
+
+
+
+ A
+
+
+ B
+
+
+ C
+
+
+
+
+ 1
+
+
+ Maths
+
+
+ Physics
+
+
+ Biology
+
+
+
+
+ 2
+
+
+ 47
+
+
+ 67
+
+
+ 33
+
+
+
+
+ 3
+
+
+ 36
+
+
+ 68
+
+
+ 42
+
+
+
+
+ 4
+
+
+ 40
+
+
+ 65
+
+
+ 44
+
+
+
+
+ 5
+
+
+ 39
+
+
+ 64
+
+
+ 60
+
+
+
+
+ 6
+
+
+
+
+ 38
+
+
+ 43
+
+
+
+
+ 7
+
+
+ 47
+
+
+ 84
+
+
+ 62
+
+
+
+
+ 8
+
+
+ 29
+
+
+ 80
+
+
+ 51
+
+
+
+
+ 9
+
+
+ 27
+
+
+ 49
+
+
+ 40
+
+
+
+
+ 10
+
+
+ 57
+
+
+ 49
+
+
+ 12
+
+
+
+
+ 11
+
+
+ 56
+
+
+ 33
+
+
+ 60
+
+
+
+
+ 12
+
+
+ 57
+
+
+
+
+
+
+
+
+ 13
+
+
+ 26
+
+
+
+
+
+
+
+
+
+Example
+The following table has two time series, one representing an impulse function at time t=0 and the other an impulse function at time t=2.
+
+
+
+
+
+
+ A
+
+
+ B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+
+
+
+ 8
+
+
+ 14
+
+
+ 12
+
+
+
+
+ 9
+
+
+ 4
+
+
+ 24
+
+
+
+
+ 10
+
+
+ 0
+
+
+ 23
+
+
+
+
+ 11
+
+
+ 2
+
+
+ 19
+
+
+
+
+ 12
+
+
+ 8
+
+
+ 10
+
+
+
+
+ 13
+
+
+ 9
+
+
+ 33
+
+
+
+
+
+
+
+
+Example
+The following table has samples of a physical phenomenon taken in 1 second interval.
+
+
+
+
+
+
+ A
+
+
+ B
+
+
+
+
+ 1
+
+
+ Time
+
+
+ Measurement
+
+
+
+
+ 2
+
+
+ 1
+
+
+ 2.7
+
+
+
+
+ 3
+
+
+ 2
+
+
+ 4.0
+
+
+
+
+ 4
+
+
+ 3
+
+
+ 4.4
+
+
+
+
+ 5
+
+
+ 4
+
+
+ 7.1
+
+
+
+
+ 6
+
+
+ 5
+
+
+ 4.9
+
+
+
+
+ 7
+
+
+ 6
+
+
+ 3.6
+
+
+
+
+ 8
+
+
+ 7
+
+
+ 4.0
+
+
+
+
+ 9
+
+
+ 8
+
+
+ 0.6
+
+
+
+
+ 10
+
+
+ 9
+
+
+ 1.0
+
+
+
+
+ 11
+
+
+ 10
+
+
+ 4.3
+
+
-
+
+
\ No newline at end of file
diff --git a/source/text/scalc/01/statistics.xhp b/source/text/scalc/01/statistics.xhp
index 5cdd15940c..bdea8206cc 100644
--- a/source/text/scalc/01/statistics.xhp
+++ b/source/text/scalc/01/statistics.xhp
@@ -1699,5 +1699,8 @@
+